定制 caffeinated/dev 二次开发

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

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

caffeinated/dev

Composer 安装命令:

composer require caffeinated/dev

包简介

README 文档

README

Laravel 5.1 Source License

Caffeinated Dev is a development package for the Laravel 5 framework containing unit test abstraction & helpers, a package development workbench and more..

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.

Documentation

None yet.

Quick Installation

1. Add to composer

Begin by installing the package through Composer.

{
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "wikimedia/composer-merge-plugin": "^1.3",
        "caffeinated/dev": "dev-master@dev"
    }
}

Then run composer update to get the packages.

2. Configure Laravel
  • Add Caffeinated\Dev\DevServiceProvider::class to your providers in config/app.php.
  • Run php artisan vendor:publish --provider="Caffeinated\Dev\DevServiceProvider" to publish the config and views.
  • Open config/caffeinated.dev.php and remove/change the workbench.stubs_path key.
3. Configure workbench

Most of the configuration is self-explanatory. The most important is to:

  • Set workbench_dir to the directory you want to use, make sure it exists.
  • Generate and set the github.token. You'll want to have it set, even if you're not doing much with Github.

Set enabled_services.workbench to true to enable the service/console commands.

4. Using workbench
Command Description
wb:add clone Clone a package from github
wb:add new Create a new package.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-08-12