New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

matthewbdaly/artisan-standalone

Allows you to use Artisan outside of a Laravel install
11,896 32
Install
composer require matthewbdaly/artisan-standalone
Latest Version:0.0.12
License:MIT
Last Updated:Mar 21, 2023
Links: GitHub  ·  Packagist
Maintainer: matthewbdaly

artisan-standalone

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.

Related Packages

kiendaotac/lumen-installer

Lumen application installer.

12 0
appzcoder/lumen-routes-list

Display the route list of Lumen

746,624 117
codeception/module-lumen

Codeception module for Lumen framework

167,947 0
mlntn/lumen-artisan-serve

artisan serve for Lumen projects

100,337 49
cosmicvelocity/lumen-helpers

Improves interoperability between Lumen and Laravel.

65,513 6

Version History

Version Released License
0.0.12 MIT
0.0.11 MIT
0.0.10 MIT
0.0.9 MIT
0.0.8 MIT