laracrate/generator 问题修复 & 功能扩展

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

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

laracrate/generator

最新稳定版本:v1.0.4

Composer 安装命令:

composer require laracrate/generator

包简介

Artisan command for generating a new custom interface, abstract, normal class in Laravel.

README 文档

README


Laravel Class Generator

Artisan command for generating a new custom interface, abstract, normal class in Laravel.

GitHub issues GitHub forks GitHub stars GitHub license

Installation

Install the package via composer:

composer require --dev laracrate/generator

Usage

Use php artisan make:class command to make a class. add -f if you want to force create the class.

To create a new class,

php artisan make:class YourClass       
// OR WITH CONSTRUCTOR       
php artisan make:class YourClass -c            
php artisan make:class YourClass --constructor 

To create a new abstract class

php artisan make:class YourClass --a
// OR
php artisan make:class YourClass --abstract

To create a new interface

php artisan make:class YourClass --i
// OR
php artisan make:class YourClass --interface

To create a new enum

php artisan make:class YourClass --e
// OR
php artisan make:class YourClass --enum

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-06