Castor is a DX oriented task runner built in PHP featuring a range of functions for common task processing.
It can be viewed as an alternative to Makefile, Fabric, Invoke, Shell scripts, etc., but it leverages PHP's scripting capabilities and its extensive library ecosystem.
It comes with many features to make your life easier:
- Seamless parsing of arguments and options, simplifying input handling
- Autocomplete support for faster and error-free typing
- A built-in list of useful functions:
run(): Runs external processes, enabling seamless integration with external toolsio(): Displays beautiful output and interacts with the terminalwatch(): Watches files and automatically triggers actions on file modificationsfs(): Creates, removes, and manipulates files and directories- And even more advanced functions
See the main repository