laravolt / packer by uyab

A cli tool for creating Laravel packages.
2,911
9
4
Package Data
Maintainer Username: uyab
Maintainer Contact: uyab.exe@gmail.com (Bayu Hendra)
Package Create Date: 2015-09-08
Package Last Update: 2019-02-13
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 15:04:30
Package Statistics
Total Downloads: 2,911
Monthly Downloads: 4
Daily Downloads: 0
Total Stars: 9
Total Watchers: 4
Total Forks: 6
Total Open Issues: 0

Laravel Packer

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.