for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace App\Providers;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
use Laravel\Dusk\DuskServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
Schema::defaultStringLength(191);
}
* Register any application services.
public function register()
if (app()->environment('local', 'testing')) {
app()->register(DuskServiceProvider::class);