定制 masterro/laravel-fresh-start 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

masterro/laravel-fresh-start

Composer 安装命令:

composer require masterro/laravel-fresh-start

包简介

Quickly scaffold the laravel app for further developing

README 文档

README

Laravel Fresh Start

Quickly scaffold base application structure

This package provides you an artisan command that creates a App/Models directory and moves App/User.php there. Then it creates an abstract Model class and extend App\Models\User from abstract App\Models\Model. After that it requires ide-helper and debugbar and requires it in the AppServiceProvider for local env and adds to dont-discover in composer.json. Also it adds a php artisan ide-helper:generate command to composer.json post-install-cmd and post-update-cmd.

Installation

Step 1: Composer

From the command line, run:

composer require masterro/laravel-fresh-start --dev

Step 2: Service Provider (For Laravel < 5.5)

For your Laravel app, open config/app.php and, within the providers array, append:

MasterRO\LaravelFreshStart\Providers\FreshStartServiceProvider::class

Step 3: Run the scaffold

From the command line, run:

php artisan app:fresh-start

You will be asked some questions to configure scaffolding. If you want to skip configuration yot can run command with --default option

php artisan app:fresh-start --default

Step 4: Remove the package

If you answered "no" on "Remove this package?" question after scaffolding you can remove

composer remove masterro/laravel-fresh-start
For Laravel < 5.5

Open config/app.php and remove the provider:

MasterRO\LaravelFreshStart\FreshStartServiceProvider::class

I will be grateful if you star this project :)

统计信息

  • 总下载量: 53
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 21
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 21
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固