Download the PHP package bitfumes/laravel-packer without Composer
On this page you can find all versions of the php package bitfumes/laravel-packer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bitfumes/laravel-packer
More information about bitfumes/laravel-packer
Files in bitfumes/laravel-packer
Package laravel-packer
Short Description Awesome Command Line Tool for speeding up your package creation.
License MIT
Informations about the package laravel-packer
Laravel Packer
[![GitHub issues](https://img.shields.io/github/issues/bitfumes/laravel-packer.svg)](https://github.com/bitfumes/laravel-packer/issues) [![Latest Stable Version](https://poser.pugx.org/bitfumes/laravel-packer/v/stable)](https://packagist.org/packages/bitfumes/laravel-packer) [![Total Downloads](https://poser.pugx.org/bitfumes/laravel-packer/downloads)](https://packagist.org/packages/bitfumes/laravel-packer) [![GitHub stars](https://img.shields.io/github/stars/bitfumes/laravel-packer.svg)](https://github.com/bitfumes/laravel-packer/stargazers) [![License](https://poser.pugx.org/bitfumes/laravel-packer/license)](https://packagist.org/packages/bitfumes/laravel-packer) [![Twitter](https://img.shields.io/twitter/url/https/github.com/bitfumes/laravel-packer.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fsarthaksavvy%2Flaravel-packer)
Laravel Packer was created by, and is maintained by Sarthak, and it is a Command Line Tool which is going to help you in creating package.
- Built on with Laravel-zero.
- Detailed tutorials found on Youtube playlist
Features
- Features
- Installation
- Creating new Package Scaffolding
- Same as Artisan commands
- Smart Clone
- Specify directory to clone
- Specify branch to clone
- CRUD Generator
- step 1
- step 2
- Todo
- License
Installation
Install via composer.
Note: For windows user, first run composer global update
Creating new Package Scaffolding
With the above command it will create package scaffolding 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.
Same as Artisan commands
With this CLI, you will have access to all artisan commands you are familiar on Laravel.
You can create controller just like you do with php artisan
Explore all commands, just run packr
on your command line.
Now you can create Migrations and Factories also
Smart Clone
With packr clone
command you can do 3 steps in just one.
This not only clone repository but also install composer and if that repository type is project, then it will generate key for project also.
Specify directory to clone
Just like git, you can clone repository to any directory, just give --dir=
option for above command
Specify branch to clone
Just like git, you can clone any branch of given repository.
Above command will create various files like
- Model with relationships
- Controller with all crud functions
- Routes based on web or api file
- factory
- migration
- unit test (if relationship is described in json)
- Feature test for all crud part
This not only clone repository but also install composer and if that repository type is project, then it will generate key for project also.
CRUD Generator
With packr crud
command you can create crud for laravel appication with fully green tests
step 1
First we need to create a json structure for our migration of any model/table To do so run this command
step 2
Now you have json file, you can describe how your migration/schema is going to look. After giving all details you can now run command to actually create full crud for the model
Todo
- [ ] Add resource in controller for CRUD maker
- [ ] Add form request in controller for CRUD maker
License
This package inherits the licensing of its parent framework, Laravel, and as such is open-sourced software licensed under the MIT license
All versions of laravel-packer with dependencies
illuminate/database Version ^6.0|^7.0|^8.0
laravel-zero/framework Version ^6.0|^7.0|^8.0