This tutorial shows how to build a PHP CLI tool that returns JSON, package it for Composer, and run it from anywhere with CPX. It also explains why CPX is a nicer alternative to globally installed Composer tools, thanks to isolated dependencies and automatic updates.

Read more

Categories: PHP