定制 bajjouayoub/custom-commands 二次开发

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

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

bajjouayoub/custom-commands

Composer 安装命令:

composer require bajjouayoub/custom-commands

包简介

This Laravel package help to manage multiple commands in one command line.

README 文档

README

Github issues Software License

This Laravel package help to manage multiple commands in one command line, and this package is recomended if you are using Laravel Passport .

Installation

Install the package through Composer. Run the following command in your terminal

composer require bajjouayoub/custom-commands

Then publish the config file

php artisan vendor:publish --provider="Bajjouayoub\CustomCommands\CustomCommandsServiceProvider"

How it works

First of all, go to the config folder and the look for custom-commands.php

Specify the name of the command

"command_name" => "command:name"  

Output :

php artisan command:name

Add all the commands that you want to run at once

Note: those commands should be type of string

"commands" => [
    // 'config:clear'
    // 'migrate:refresh'
    // 'db:seed'
    // 'passport:install'
    ...
]

Change something on the .env file (optional)

if you need to change some variable in the .env file change the variable to true by default it's false

"change_env" => true

Table and row name

if you change the change_env to true then those fields is required. the table variable is refers to the oauth_clients this table comes with laravel passport by default. the row variable is refers to the secret row in the oauth_clients table.

"table" => "" //type of string


"row" => "" //type of string

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固