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

This package is auto-updated.

Last update: 2024-10-30 01:48:37 UTC


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.