承接 matthewbdaly/artisan-standalone 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

matthewbdaly/artisan-standalone

最新稳定版本:0.0.12

Composer 安装命令:

composer require matthewbdaly/artisan-standalone

包简介

Allows you to use Artisan outside of a Laravel install

README 文档

README

Allows you to use Artisan outside of a full Laravel or Lumen install.

Why do I want this?

It's intended so that when you're building a standalone Laravel package, you still have access to the Artisan commands for generating boilerplate and don't have to generate them in your application, then copy them elsewhere.

How do I use it?

You will normally want to install this as a dev dependency in your package:

composer require --dev matthewbdaly/artisan-standalone

Then you can access the Artisan console in your package as follows:

vendor/bin/artisan

Can I use it globally?

In theory it might, but I haven't set it up to do so - it doesn't actually include Laravel as a dependency, so you'd need to install laravel/framework globally as well. My recommendation is to install it on a per-project basis. You might want to check out my boilerplate package, which includes this one as a dependency, and is a good starting point for building a standalone Laravel package.

统计信息

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

GitHub 信息

  • Stars: 32
  • Watchers: 1
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-01