定制 hisman/laravel-make-class 二次开发

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

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

hisman/laravel-make-class

最新稳定版本:1.0.1

Composer 安装命令:

composer require hisman/laravel-make-class

包简介

Artisan command for generating a new custom class in Laravel.

README 文档

README

Artisan command for generating a new custom class in Laravel.

Installation

Install the package via composer:

composer require --dev hisman/laravel-make-class

If you're using Laravel < 5.5, you'll need to add the service provider to config/app.php file:

'providers' => [
    ...

    Hisman\MakeClass\MakeClassServiceProvider::class,

    ...
]

Usage

To create a new class, call the make:class command from Artisan. Class will be created under the app folder.

php artisan make:class ClassName

You can add the -c or --constructor option to generate new class with constructor.

php artisan make:class ClassName -c
php artisan make:class ClassName --constructor

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-27