herlea / pack
A tiny package generator for Laravel
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/herlea/pack
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.