tatter / tools
Developer tools for CodeIgniter 4
Fund package maintenance!
tattersoftware
paypal.me/tatter
Installs: 28 938
Dependents: 28
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 2
Open Issues: 1
Requires
- php: ^7.4 || ^8.0
- codeigniter4/devkit: ^1.0
Requires (Dev)
- codeigniter4/framework: ^4.1
- dev-develop
- v2.0.1
- v2.0.0
- v2.0.0-beta.1
- v1.15.1
- v1.15.0
- v1.14.1
- v1.14.0
- v1.13.0
- v1.12.1
- v1.12.0
- v1.11.1
- v1.11.0
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.1
- v1.9.0
- v1.8.2
- v1.8.1
- v1.8.0
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3
- v1.2
- v1.1
- v1.0.1
- v1.0.0
- dev-dependabot/github_actions/actions/cache-4
- dev-master
- dev-unused
This package is auto-updated.
Last update: 2024-11-18 16:00:08 UTC
README
Developer tools for CodeIgniter 4
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