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.
PHP
★ I built a shared pixel canvas with Laravel Rust
After moving this blog to Laravel Rust, I wanted to try something I wouldn’t build the same way in a typical Laravel PHP app. So I built Dots, a shared pixel canvas. It uses a Read more…