-
Notifications
You must be signed in to change notification settings - Fork 3
Routes
Marcin Halak (Versoo) edited this page Apr 10, 2018
·
2 revisions
Command to create routes file in resource directory, using for that a resource name.
php artisan larapi:routes {Resource}
To create routes file with custom controller name you can use a name argument. It will be create routes file for a resource with your custom Controller name.
php artisan larapi:routes {Resource} {Name}
Arguments:
- Resource - Name of resource
- Name - Optional: Name of custom Controller name. Default value is Resource name;
Options:
- --public - It will create file with public routes