Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes the package when using config:cache #1

Merged
merged 2 commits into from
Jun 2, 2017
Merged

Fixes the package when using config:cache #1

merged 2 commits into from
Jun 2, 2017

Conversation

OwenMelbz
Copy link

You cannot use env() inside your application code when using cached
configs - which is outlined here
https://laravel.com/docs/5.4/configuration#configuration-caching

By externalising the env(‘KICKBOX_API_KEY’) to a config variable, it
allows it to be cached by laravel.

Owen Melbourne added 2 commits April 6, 2017 16:56
You cannot use `env()` inside your application code when using cached
configs - which is outlined here
https://laravel.com/docs/5.4/configuration#configuration-caching

By externalising the `env(‘KICKBOX_API_KEY’)` to a config variable, it
allows it to be cached by laravel.
@OwenMelbz
Copy link
Author

@stuyam Any chance we could look at getting this merged?

Many thanks :)

@stuyam
Copy link
Owner

stuyam commented Jun 2, 2017

Wow yeah, seemed to have missed this sorry! yikes!

@stuyam stuyam merged commit bd744ec into stuyam:master Jun 2, 2017
@stuyam
Copy link
Owner

stuyam commented Jun 2, 2017

@OwenMelbz released in v1.0.1! If you have the chances to open another PR on the phone validator package that would be sick and I would gladly merge! https://github.com/stuyam/laravel-phone-validator

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants