ceekays/generators 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ceekays/generators

Composer 安装命令:

composer create-project ceekays/generators

包简介

Extra generator files for Laravel 5.*

README 文档

README

License Latest Stable Version Total Downloads

This package provides an extended list of generators to speed up your Laravel development process. These generators include:

  • make:report
  • make:service

Additionally, the package also overrides the default location for Eloquent models. By default, models are placed in app/ directory. However, the directory quickly becomes messy as model files get mixed up together with other specialised directories such as Console, Http, Jobs, Policies, Providers, etc. This package overrides Laravel's behaviour of creating models and introduces a Models directory where your models will be located.

The package is compatible with Laravel 5 or later.

Installation

This package is installed using Composer.

composer require ceekays/generators

Laravel 5.5 or Later

The package uses package auto-discovery, as such for Laravel 5.5 or later you are not required to manually add the service provider.

Laravel < 5.5

For Laravel versions lower than 5.5, add following service provider to the array of providers in config/app.php:

Ceekays\Generators\GeneratorsServiceProvider::class,

That's it! You're all set to go. Run the php artisan command from the Terminal to see the new commands.

Usage

  • The make:model command has not changed its default behaviour except for the location of the models.
  • php artisan make:report UsersReport --table=users or php artisan make:report UsersReport -t users
  • php artisan make:service CreateUserService

License

This package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固