ptondereau / laravel-packme
A starter pack for developing a package with Laravel 5
Requires
- php: >=5.6
- constant-null/backstubber: ^1.0
- mnapoli/silly-php-di: ^1.2
- symfony/filesystem: ^3.0 || ^4.0 || ^4.1
Requires (Dev)
- phpunit/phpunit: ^5.0
- scrutinizer/ocular: ^1.3
README
Laravel PackMe is a project starter pack which combine all basic stuff (src, tests) in order to develop a package for Laravel 5.*. It takes care about tests and best pratices I gathered over some cool repository. With one command line, you are ready to develop a package in good condition. It works like Laravel installer.
Most of this repository's common practices comes from Graham Campbell. You should follow him!
Laravel PackMe was created by, and is maintained by Pierre Tondereau. It utilises Laravel TestBench package. Feel free to check out the change log, license, and contribution guidelines.
Installation
Either PHP 5.5+ or HHVM 3.6+ are required.
To get the latest version of Laravel PackMe, simply require the project using Composer:
$ composer global require ptondereau/laravel-packme
Usage
$ packme create my-package
$ cd my-package/
$ composer install
This will prompt to you so question and it will create a folder my-package/
with all prepared files. Such as laravel installer. You should review composer.json
, README.md
and LICENSE
.
Further Information
There are other classes in this package that are not documented here. This is because they are not intended for public use and are used internally by this package.
License
Laravel PackMe is licensed under The MIT License (MIT).