In your project root directory, require the
composer require zschuessler/laravel-route-to-class
In this step you will add the package's service provider to your
/** * Custom Service Providers * * This line goes under the 'providers' array key, * where other providers are registered. */ Zschuessler\RouteToClass\ServiceProvider::class,
In this step you will publish the package configuration files by running an artisan command.
php artisan vendor:publish --provider="Zschuessler\RouteToClass\ServiceProvider"
That's it! You're ready to start adding your own class generators.
Updated less than a minute ago