Skip to content

Developer tools for CodeIgniter 4

License

Notifications You must be signed in to change notification settings

tattersoftware/codeigniter4-tools

Repository files navigation

Tatter\Tools

Developer tools for CodeIgniter 4

Coverage Status

Installation

  • Install via Composer: > composer require tatter/tools

Description

Tools is an opinionated wrapper for the CodeIgniter DevKit. It includes a script to apply the DevKit to libraries (instead of the default, for projects) and some custom updates to the template files.

Included

See the DevKit docs for a complete list of bundled tools.

Usage

Applying Toolkit

Apply the development toolkit using the bash script from the directory where you wish it to apply:

  • ./vendor/tatter/tools/src/retool ... or:
  • composer retool

Spark Autocomplete

Tools includes a directive for Bash's Programmable Completion to allow tab-completing spark commands from the command-line. Simply copy src/spark_completion to you Bash completions directory as "spark" and re-source your environment (i.e. log out & in):

sudo cp src/spark_completion /usr/share/bash-completion/completions/spark
exit

Now when accessing commands for in CodeIgniter 4 you can autocomplete against the list of available commands for your instance:

> ./spark mi
[tab]
> ./spark migrate
migrate           migrate:create    migrate:refresh   migrate:rollback  migrate:status

About

Developer tools for CodeIgniter 4

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •