定制 kastsecho/laravel-commands 二次开发

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

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

kastsecho/laravel-commands

最新稳定版本:0.0.1

Composer 安装命令:

composer require kastsecho/laravel-commands

包简介

Artisan commands for Laravel.

README 文档

README

This repository contains three custom Laravel Artisan commands created by Kasts Echo.

Installation

To use these commands, you'll need to use Composer to install the package:

composer require kastsecho/laravel-commands

Usage

make:action

This command generates a new action class. To use it, simply run:

php artisan make:action MyNewAction

This will generate a new enum class named MyNewAction in your app/Actions directory.

make:enum

This command generates a new enum class. To use it, simply run:

php artisan make:enum MyNewEnum [--int|--string]

This will generate a new enum class named MyNewEnum in your app/Enums directory. The --int option generates an integer backed enum, while the --string option generates a string backed enum. If you don't provide any option, the default is a basic enum.

make:trait

This command generates a new trait class. To use it, simply run:

php artisan make:trait MyNewTrait

This will generate a new trait class named MyNewTrait in your app/Traits directory.

Contributing

If you find any issues with these commands or have suggestions for improvements, feel free to open an issue or submit a pull request on the GitHub repository.

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固