laravolt/packer

A cli tool for creating Laravel packages.

1.1.0 2019-02-13 05:40 UTC

This package is auto-updated.

Last update: 2024-04-13 17:57:18 UTC


README

This package provides you with a simple tool to set up a new Laravel package. It provides a complete boilerplate code that could actually be done by a package. Use what you need, remove the remaining.

Installation

Via Composer

$ composer require laravolt/packer

Then add the service provider in config/app.php:

'Laravolt\Packer\PackerServiceProvider',

Usage

New package

The command will handle practically everything for you. It will create a packages directory, creates the vendor and package directory in it, pulls in a skeleton package, sets up composer.json, creates a service provider, registers the package in config/app.php and the app's composer.json. So you can start right away with only this command:

$ php artisan laravolt:packer:new vendor_name package_name

Credits

This package was originally forked from Jeroen-G/laravel-packager awesome package.