Download the PHP package bakgul/laravel-package-generator without Composer
On this page you can find all versions of the php package bakgul/laravel-package-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bakgul/laravel-package-generator
More information about bakgul/laravel-package-generator
Files in bakgul/laravel-package-generator
Package laravel-package-generator
Short Description This package aims to generate packages to increase productivity. It offers a flexible package structure thanks to settings that can be found in the 'structures' array on 'config/packagify.php'. The detailed explanations can be found in that array's comment block.
License MIT
Informations about the package laravel-package-generator
Laravel Package Generator
This package aims to generate packages to increase productivity. It offers a flexible package structure thanks to settings that can be found in the structures array on config/packagify.php. The detailed explanations can be found in that array's comment block.
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, and make sure you have File History to be able to roll back the changes.
v3 Update guide
- Go to
vendor/bakgul/kernel/config/apps.php
file and see the changes. We have a new key namedroutes
under each app. Bring that new structure to your packagify.php file in your config folder. - Add
'bundler' => 'vite' or 'mix'
to the main array under 'Main from Kernel' section in your packagify.php file in your config folder.
Installation
If you installed Packagified Laravel, you should have this package already. So skip installation.
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.
Signature
Arguments
-
package: It's required and must be unique.
- root: It's required and must be one of the predefined roots in the "roots" array on config/packagify.php. The roots' keys or folders can be used here.
Options
- dev: If you create a dev-dependency, add "-d" or "--dev" to the command.
Credit
I copied the service provider's boilerplate from the package generated on BeyondCode Boilerplate Generator
Packagified Laravel
The main package that includes this one can be found here: Packagified Laravel
The Packages That Will Be Installed By This Package
All versions of laravel-package-generator with dependencies
bakgul/kernel Version ^4.0
bakgul/file-content Version ^4.0
bakgul/file-history Version ^4.0
bakgul/command-evaluator Version ^4.0
bakgul/laravel-file-creator Version ^4.0
bakgul/laravel-resource-creator Version ^4.0
bakgul/laravel-helpers Version ^1.0