UniSharp / laravel-unifly by g0110280

it can generate entities by arca principle
2
3
7
Package Data
Maintainer Username: g0110280
Package Create Date: 2015-11-24
Package Last Update: 2017-08-04
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-12-14 15:04:52
Package Statistics
Total Downloads: 2
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 3
Total Watchers: 7
Total Forks: 2
Total Open Issues: 0

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": "git@bitbucket.org: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