Commands

Commands

paxsy commands in detail

make:route

Make route is paxsy specific command to create a route file for your package. The route file will be created under /app-paxsy/your-package-name/routes/web.php There is inside a default route {base_url}/{your-package-name}/index that works imitatively.

php artisan make:route

Ask for a package where to write in the web.php route with a default route for your package

laravel make:route with package selection

php artisan make:route --package=demo-1

Force recreate your laravel package route file

php artisan make:route --package=demo-1 -f

or:

php artisan make:route --package=demo-1 --force

Output path and a callable url will be displayed to you :)

Note:with bootraiser, the route is working in your package directly.

Last updated on