Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Non-live validation and console command #8

Open
davidstoker opened this issue Apr 17, 2016 · 0 comments
Open

Non-live validation and console command #8

davidstoker opened this issue Apr 17, 2016 · 0 comments

Comments

@davidstoker
Copy link

davidstoker commented Apr 17, 2016

Hi @mathiasgrimm, would you consider extending this package to make validation within the service provider configurable? My use case for this is that I want to be able to run .env validation but I don't want the whole application to die if there is a missing parameter.

You can take a look at the configurable-validation branch on my fork. I altered the config to add a boolean parameter for live_validation that the service provider checks before validating. The structure of the config had to be extended to return more than just an array of validations. I also created a console command so that I can run validation with artisan at will.

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

No branches or pull requests

1 participant