Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lonnieezell/vulcan
CLI tools for CodeIgniter 4
https://github.com/lonnieezell/vulcan
Last synced: 3 months ago
JSON representation
CLI tools for CodeIgniter 4
- Host: GitHub
- URL: https://github.com/lonnieezell/vulcan
- Owner: lonnieezell
- Archived: true
- Created: 2016-12-21T06:06:11.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2020-12-14T00:19:08.000Z (about 4 years ago)
- Last Synced: 2024-08-01T19:51:06.578Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 88.9 KB
- Stars: 55
- Watchers: 19
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome - lonnieezell/vulcan - CLI tools for CodeIgniter 4 (PHP)
README
# Vulcan
Vulcan is a set of command line interface tools for CodeIgniter 4 that help you rapidly create boilerplate code, bypassing some of the developer's drudge work, and get on with the good parts.
**This project is in the early development stages is not currently fit for consumption. Keep checking in, though, since it's sure to launch on or before CodeIgniter 4 does.**
## Features
- Integrates seamlessly into a CodeIgniter 4 project
- Generate boilerplate code you don't like writing every time
- Interactive REPL environment to test out features.
- and likely more!##Installation
**Download the Code**
### Composer
The preferred method to install is via Composer. Add the following to the `require-dev` section of your project's
composer.json file:```
"lonnieezell/vulcan": "dev-develop"
```### Manual Installation
Clone the repo to somewhere you'll find it again:
```
$ git clone [email protected]:lonnieezell/vulcan.git
```For this example, we'll pretend we're installing it to `/home/vulcan`, mainly to keep the typing minimal.
Next, install the dependencies with composer:
```
cd /home/vulcan
composer install
```Great! I can use it now, right? Not so fast...
**Let Your CodeIgniter Project Know**
We need to let your project know where to find the commands, so open up `/application/Config/Autoload.php` and create the `Vulcan` namespace in the `$psr4` array:
```
public $psr4 = [
'Vulcan' => '/home/vulcan'
];
```Now can we use it? You bet!
**Get Creating**
Using CodeIgniter 4's built-in cli tools you can call any of the Vulcan commands now:
```
$ php spark
```This will provide a list of commands and a short explanation.
## Using the Interactive Debugger
Vulcan packages the excellent [PsySH](https://psysh.org/) repl and interactive debugger. Be sure to use read its
manual to see all of the great things it can do.