Download the PHP package rlustosa/laravel-generator without Composer
On this page you can find all versions of the php package rlustosa/laravel-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rlustosa/laravel-generator
More information about rlustosa/laravel-generator
Files in rlustosa/laravel-generator
Package laravel-generator
Short Description Laravel Module management for my projects
License MIT
Informations about the package laravel-generator
About Laravel Generator
rlustosa/laravel-generator
is a Laravel package which created to manage your large Laravel app using modules.
Install
To install through Composer, by run the following command:
The package will automatically register a service provider and alias.
Optionally, publish the package's configuration file by running:
Autoloading
By default the module classes are not loaded automatically. You can autoload your modules using psr-4
. For example:
Tip: don't forget to run composer dump-autoload
afterwards.
Preparing to Vue
1 - Install JS packages with:
2 - Modify resources/js/app.js to:
3 - Create resources/js/router.js with:
4 - App.vue example:
5 - Configure your web.php:
6 - Configure your PanelController.php:
7 - Configure your initial view:
8 - See commands:
9 - After generating a module, add the service provider in the providers section of config/app.php
USEFUL COMMANDS
- php artisan rlustosa:make-module product product --force && chmod 777 -R ./ Gerar Módulo completo
- php artisan rlustosa:make-code product product -s --force && chmod 777 -R ./ Gerar Scaffold de código
- php artisan rlustosa:make-code product product -c --force && chmod 777 -R ./ && npm run watch Gerar os ".Vue" funcionais
Documentation
You'll find installation instructions and full documentation on ###########.
Credits
TODO
- Atualizar arquivo de rotas do Laravel (Atualmente está sendo sobrescrito)
- Gerar views html
About Rupert Brasil Lustosa
Rupert Lustosa is a freelance web developer specialising on the PHP and Laravel framework ############.
License
The MIT License (MIT). Please see License File for more information.