Thursday, April 13, 2017

Adding a guard and provider in auth.php trough serviceprovider

Laravel Version: 5.4 PHP Version: 7

I making a custom package and i'am wondering if it's possible to add a guard and provider trough my ServiceProvider. I don't want that other developer need to put manually things in auth.php when they install the custom package.

So i just want to fill 'providers' and 'guard' in auth.php.



via matthijs neijenhuijs

Advertisement