allenjd3/tuple-routing-stubs

This package allows you to stub out tuple or array routing on fresh installs of laravel

v1.0-alpha1 2020-04-08 23:38 UTC

This package is not auto-updated.

Last update: 2024-04-19 15:33:55 UTC


README

I recommend you use this with laravel 5.6 or above.

to install-

composer require allenjd3/tuple-routing-stubs

The package should be autodescovered.

To run the command-

php artisan stub:tuple

warning: this action will change RouteServiceProvider.php and routes/web.php. Any previous changes will be lost so I recommend only using this on fresh installs.

note: laravel-ui is recommended for auth routes mainly for the auth controllers.

To run the database stubs as well

php artisan stub:tuple --database