larastarscn/workbench 问题修复 & 功能扩展

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

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

larastarscn/workbench

Composer 安装命令:

composer require larastarscn/workbench

包简介

Simple convenient workbench for laravel package creator.

README 文档

README

License

Introduction

This package provides a simple convenient workbench for Laravel package creator.That will make you quickly create the package structure via command line interface.

Installion

To get started with Workbench, add to your composer.json file as a dependency:

composer require larastarscn/workbench

Then type the composer install command to the cli.

Configure

After installing the Workbench libary, register the Larastarscn\Workbench\WorkbenchServiceProvider in your config/app.php configuration file:

'providers' => [
    // Other service providers...

    Larastarscn\Workbench\WorkbenchServiceProvider::class,
]

Also, add the WorkbenchMakeCommand command class to the commands array in your app/Console/Kernel.php file:

protected $commands = [
    \Larastarscn\Workbench\Console\WorkbenchMakeCommand::class,
];

Then, you will need to publish the workbench.php configuration file to the config directory:

php artisan vendor:publish

Also, you will need register the author infomation within config/workbench.php.

Usage

Next, you are ready to create a new package via Workbench! Simple type fllowing command to the cli:

php artisan workbench vendor/package

Just it! For example, if you want make a package that the name is larastarscn/test. Just run command like this:

php artisan workbench larastarscn/test

Then the workbench will ask you that "What directories do you want?", if you don't want any sub-directory in your package, just type value that one of nullno, n, false.

Also, you can create multiple directories at once, just split those via comma symbol.

Even you can create the nested directories using "dot" notation:

> What directories do you want?
> config,resource.view,resource.lang,test

Once the package structure is generated. Workbench will automatically map the namespace of the package within the root composer.json file for you.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固