Laravel Packer was created by, and is maintained by Sarthak Shrivastava, and it is a Command Line Tool which is going to help you in creating package.
- Built on with Laravel-zero.
Install via composer.
composer global require bitfumes/laravel-packer --prefer-dist
packer new your-package-name {vendor} {author} {author_email}
With the above command it will create package scaffoldig for you.
Optional fields like 'vendor', 'author' and 'author_email' can also be given via command line interface if you are not willing to provide on command.
With this CLI, you will have access to all artisan commands you are familier on Laravel.
You can create controller just like you do with php artisan
packer make:controller controller_name
Explore all commands, just run packer
on your command line.
Now you can create Migrations and Factories also
With packer clone
command you can do 3 steps in just one.
packer clone {repositoryname}
This not only clone repository but also install composer and if that repository type is project, then it will generate key for project also.
Just like git, you can clone repository to any directory, just give --dir=
option for above command
packer clone {repositoryname} --dir={custom_directory_name}
Just like git, you can clone any branch of given repository.
packer clone {repositoryname} --branch={branch_name}
This package inherits the licensing of its parent framework, Laravel, and as such is open-sourced software licensed under the MIT license