rodrigoxdn/laravel

Demo package.

dev-master 2020-08-14 06:23 UTC

This package is auto-updated.

Last update: 2024-04-14 14:41:36 UTC


README

Installing pkg

composer require rodrigoxdn/laravel

Enter the pkg installation command into terminal/cmd/bash.

Comands

php artisan pkg:install
Install configuration of pkg.

php artisan pkg:route
Writing routes of pkg in your project.
Note the current routes will be overwritten from the /routes/web.php file.
It is recommended that you backup routes if they exist.

php artisan pkg:example
Displays sample files from the use of pkg.
The files have been copied to /resources/example/

php artisan pkg:controller {name : The controller name}
Controller based on pkg configuration.
Note the controller only receives the name parameter.

php artisan pkg:controller-ajax {name : The controller name}
Controller based on ajax pkg configuration.
Note the controller only receives the name parameter.