bakgul / packagified-laravel
This is the main package that collects the other packages in this family to perform fully.
Requires
- php: ^8.1
- bakgul/command-evaluator: ^4.0
- bakgul/file-content: ^4.0
- bakgul/file-history: ^4.0
- bakgul/kernel: ^4.0
- bakgul/laravel-code-generator: ^4.0
- bakgul/laravel-file-creator: ^4.0
- bakgul/laravel-helpers: ^1.0
- bakgul/laravel-package-generator: ^4.0
- bakgul/laravel-resource-creator: ^4.0
- bakgul/renamer: ^4.0
- bakgul/repository-builder: ^4.0
README
This is the main package that collects the other packages in this family to perform fully.
- Build Repository
- Command Evaluator
- File Content
- File History
- Kernel
- Laravel File Creator
- Laravel Resource Creator
- Laravel Code Generator
- Laravel Package Generator
- Renamer
DISCLAIMER
It should be production-ready but hasn't been tested enough. You should use it carefully since this package will manipulate your files and folders. Always use a version-control.
v4 Update
Everything on this package has been extracted to a separate package named "Build Repository." So this package contains only a composer.json to load other packages in the bundle and a service provider that doesn't do anything.
Installation
sail composer require bakgul/packagified-laravel --dev
Next, you need to publish the settings by executing the following command. By doing so, you will have a new file named packagify.php on the config folder. If you check the "files" array, you can see the file types that can be created. Quite deep explanations are provided in the comment block of the files array.
sail artisan packagify:publish-config
After publishing stubs, you will be able to update the stub files as you need. It's safe to delete the unedited files.
sail artisan packagify:publish-stub
How to Start
VERY IMPORTANT NOTE
You should use this command only in a freshly installed Laravel app. This command will wipe out some folders, and you will probably lose your previous codes.
Before you call it, make sure you set repository type properly. After publishing the settings, go to config/packagify.php
and check for essential settings. After you make the changes, run the command down below.
sail artisan build-pl
Arguments
This command accepts no argument.
Options
This command accepts no option.