alphazento framework package develement assistant
alphazento/alphazento-package-assistant is a Laravel package for alphazento framework package develement assistant.
It currently has 1 GitHub stars and 4 downloads on Packagist (latest version 1.0).
Install it with composer require alphazento/alphazento-package-assistant.
Discover more Laravel packages by alphazento
or browse all Laravel packages to compare alternatives.
Last updated
The Alphazento Package Assistant extends Laravel make command group to help you to implement Alphazento.
Go to the root folder of Alphazento and run the following command
composer require alphazento/alphazento-package-assistant
After install the package, just run the following command
php artisan package:enable Zento_PackageAssistant
php artisan package:enable Zento_Kernel
php artisan package:enable Zento_PackageAssistant
It's a new added command.
For e.g., If you want to create a package under your vendor's name 'YourCompany', and the package name is "TestPackage", so the full name of your package will be "YourCompany_TestPackage",(Pleae note that you the "_" is for seperate Vendor name and package name, so please do not use "_" in your vendor and package name) then you need to use the command like this,
php artisan make:package YourCompany_TestPackage
Here're some commands extends from Laravel by adding package name parametter
All these command will take first parameter as package name For e.g., If you want to create model in your pacage YourCompany_TestPackage, just run the following command:
php artisan make:model YourCompany_TestPackage TestModel
Then you will find there's file TestModel.php inside the folder YourCompany\TestPackage\Model
As a comparation, the original command in Laravel which is:
php artisan make:model TestModel