unisharp / laravel-unifly
it can generate entities by arca principle
dev-master
2017-04-27 10:46 UTC
Requires
- php: >=5.4.0
- illuminate/support: >=5.0.0
- unisharp/laravel-datacarrier: dev-master
- unisharp/laravel-fileapi: dev-master
Requires (Dev)
- phpunit/phpunit: ~4.8
This package is auto-updated.
Last update: 2024-12-15 16:40:44 UTC
README
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