A cli tool for creating Laravel 5.1 packages
Switch branches/tags
Clone or download
Pull request Compare This branch is 4 commits ahead, 75 commits behind Jeroen-G:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src
changelog.md
composer.json
contributing.md
license.md
readme.md

readme.md

Laravel Packager

Latest Version License

This package provides you with a simple tool to set up a new package. Nothing more, nothing less.

Installation

Via Composer

$ composer require jeroen-g/laravel-packager

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

'JeroenG\Packager\PackagerServiceProvider',

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:

$ artisan packager:new MyVendor MyPackage

The new package will be based on league/skeleton, plus a Laravel service provider.

Existing package

If you already have your package on Github, it is possible to download that:

$ artisan packager:get https://github.com/author/repository

This will too register the package in config/app.php and the app's composer.json file.

Contributing

Please see contributing.md for details.

License

The EU Public License. Please see license.md for more information.

Changelog

Please see changelog.md for the changes made.