herlea / pack
There is no license information available for the latest version (v1.0.0) of this package.
A tiny package generator for Laravel
v1.0.0
2023-07-01 11:14 UTC
Requires
- php: ^7.4 || ^8.0
- laravel/framework: ^8.0 || ^9.0 || ^10.0 || ^11.0
README
Tiny package generator, only creating the most bare-bone folder structure for a new (local only) package.
Installation
composer require herlea/pack
Usage
php artisan make:package <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.