LaravelPackages.net
Acme Inc.
Toggle sidebar
unisharp/laravel-unifly

it can generate entities by arca principle

2
3
About unisharp/laravel-unifly

unisharp/laravel-unifly is a Laravel package for it can generate entities by arca principle. It currently has 3 GitHub stars and 2 downloads on Packagist. Install it with composer require unisharp/laravel-unifly. Discover more Laravel packages by unisharp or browse all Laravel packages to compare alternatives.

Last updated

Laravel Unifly

Introduction

It contain artisan make:entity command , it will make unisharp work on the fly

Install Data Carrier

composer.json:

"require" : {
    "unisharp/laravel-unifly" : "dev-master"
}, 
"repositories": {
    "type": "git",
    "url": "[email protected]:unisharp/laravel-unifly.git"
}

save it and then

composer update unisharp/laravel-unifly   

Set ServiceProvider and Set Facade

in config/app.php:

  • ServiceProfider

      Unisharp\Unifly\UniflyServiceProvider::class,
    

Usage

  • main command

      php artisan make:entity XXX
    

    it will generate XXX entity and other views, repository to work with this entity

  • with translatable

      php artisan make:entity XXX --translatable
    

Star History Chart