Package Data | |
---|---|
Maintainer Username: | matthewbdaly |
Maintainer Contact: | matthewbdaly@gmail.com (Matthew Daly) |
Package Create Date: | 2018-01-01 |
Package Last Update: | 2023-03-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:11:25 |
Package Statistics | |
---|---|
Total Downloads: | 6,957 |
Monthly Downloads: | 234 |
Daily Downloads: | 4 |
Total Stars: | 32 |
Total Watchers: | 3 |
Total Forks: | 10 |
Total Open Issues: | 2 |
Allows you to use Artisan outside of a full Laravel or Lumen install.
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.
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
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.