hergend/pack
Pack
Tiny package generator, only creating the most bare-bone folder structure for a new (local only) package.
Installation
Install pack as a dev dependency:
composer require hergend/pack --dev
Usage
!! Package names are kebab-case, so not PascalCase
php artisan make:pack <package-name>
Creates the following files:
|- src/
| |- PackageServiceProvider.php
|- tests/
|- composer.json
It also sets up the correct namespacing, and registers your package in your root composer.json.
Using this tool you can create local packages for utility classes/functionality to be shared across domains within your application easily.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.1.0 | ^7.4 || | >=6.0 | GPL-3.0-or-later | |
| v1.0.0 | ^7.4 || | >=6.0 | GPL-3.0-or-later |