文件名称:laravel-generators
文件大小:18KB
文件格式:ZIP
更新时间:2024-04-20 13:23:02
PHP
Laravel 5脚手架
通用命令
// Move the `public` folder to `public_html`
// Only enabled on `local` environment
php artisan setup:move-public
脚手架命令
创建资源
php artisan scaffold:resource car
这将创建以下文件
app\Entities\Cars\Car.php (Model)
app\Entities\Cars\CarsRepository.php (Repository, inherited from BaseRepository)
app\Http\Controllers\CarsController.php
database\migrations\
【文件预览】:
laravel-generators-master
----composer.json(932B)
----resources()
--------apidocs()
----src()
--------GeneratorServiceProvider.php(1KB)
--------Exceptions()
--------Commands()
----Stubs()
--------Entities()
--------Http()
--------Application.stub(187B)
--------migrations()
----.gitignore(13B)
----README.md(2KB)