- What's this about then
- Installation
- Using the generator
- Using your package
- Contributing
- Changelog
- Security
Packager will quickly and easily scaffold a Laravel package, getting you up and running within a few seconds.
It will generate the necessary files such as a service provider and a composer file, it will also install your package as a local depenedency while also generating placeholder directories for migrations, translations etc.
The service provider will be configured with all the correct settings for loading and/or publishing your assets. Just uncomment what you need and you're done.
This Package is dependend on Yeoman Generator. If you haven't installed already, install the Yeoman generator:
npm install -g yo
After that, install the this generator:
npm i -g generator-packager
This will install the generator globally so yo can access it by yo packager
.
Run the following command:
yo packager
and follow the instructions.
Generator will Automatically install the Package Generated.
After the composer.json file has been updated, run the composer update command:
composer update
This will update all dependancies in you Laravel Application.
Note: If you update your package's composer.json file, you need to run the composer update command again to update the app's autoloader.
This is only necessary for the composer.json file. Changes in any other files in your package will be automatically updated thanks to the symlink.
- Dependancies
- georgechitechi/cool - laravel/framework - yeoman/generator-generator
See CONTRIBUTING.md.
See CHANGELOG.md.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker. Security issues will be addressed promptly.