chrgriffin/laravel-collection-package-generator

v1.0.0 2020-03-04 19:52 UTC

This package is auto-updated.

Last update: 2024-12-05 09:12:27 UTC


README

Build Status Coverage Status

Collection Macro Package Generator

Usage

Install globally via composer:

composer global require chrgriffin/laravel-collection-package-generator

You can now quickly scaffold a Laravel Collection macro package by running:

collection new <macro command>

This will create a directory called collection-macro-<macro command> containing a scaffolded composer package of the same name.

Notes

This package was primarily written for myself (ChrGriffin). Feel free to use it yourself or fork it, but I don't have any intention of maintaining it for use cases beyond my own.

This generator used the Laravel Installer as a base that was subsequently edited.