dizatech / pacman
A simple package manager for laravel apps.
Requires
- php: ^7.1.0|^8.0.2
- laravel/framework: ^5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0
README
Simple Laravel Package Manager
pacman provides simple commands to create and manage your laravel packages and modules
Installation
Using composer :
composer require dizatech/pacman
Packagist : https://packagist.org/packages/dizatech/pacman
Usage
You can always checkout new commands by php artisan list
,
pacman section
php artisan pacman:<command>
with arguments
php artisan pacman:<command> --directory=<specific-directory>
--directory is optional
default directory is modules
Available Commands
module <module_name>
Create a new module structure and service provider
provider <provider_name> <module_name>
Create a new provider class for specific module
controller <controller_name> <module_name>
Create a new controller class for specific module
migration <migration_name> <module_name>
Create a new migration file for specific module
seeder <seeder_name> <module_name>
Create a new seeder class for specific module
model <model_name> <module_name>
Create a new Eloquent model class for specific module
request <request_name> <module_name>
Create a new form request class for specific module
facade <facade_name> <module_name>
Create a new facade class for specific module
base-facade <module_name>
Create a new base facade class for specific module
repository <repository_name> <module_name>
Create a new repository class for specific module