rodrigoxdn/laravel

Demo package.


License
MIT

Documentation

RodrigoXdn/Laravel Pkg

Installing pkg.

Add service provider in the file config/app.php
/* * Package Service Providers... */
RodrigoXdn\Laravel\XdnServiceProvider::class,
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 back up 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.