Developer tools for CodeIgniter 4

v1.13.0 2021-09-28 22:51 UTC


Developer tools for CodeIgniter 4

Coverage Status


  • Install via Composer: > composer require tatter/tools


Support Tools

Styles and Standards

Testing and Analysis

  • NexusPHP Tachycardia
  • PHPStan
  • PHPUnit


  • FakerPHP
  • VFS Stream

Additional Tools

These are integrated into the workflows but not included via Composer so need to be installed separately. All of them are available via Phive.


Applying Toolkit

Apply the development toolkit using the bash script:

  • ./vendor/tatter/tools/src/apply.sh <path_to_project_repository>

The script will create

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

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

> ./spark mi
> ./spark migrate
migrate           migrate:create    migrate:refresh   migrate:rollback  migrate:status