Replace all Laravel stubs according to AMgrade code style.
composer require mcmatters/laravel-amgrade-stubs
If you don't use "Service Discovery" feature, then add into
If you use something like
DevelopmentServiceProvider.php, then your service provider must implement
DeferrableProvider interface to overwrite default Laravel commands.
php artisan vendor:publish
or copy from the package directory