laravel-zero/phar-updater
Backend for the self-update command in Laravel Zero PHARs, forked from Humbug PHAR Updater. Supports SHA-1/256/512 and GitHub Releases strategies, SSL/TLS verification, OpenSSL signatures, and rollback.
By adopting laravel-zero/phar-updater, we eliminate the need to build and maintain a custom self-update system for our PHAR-based CLI tools, reducing engineering effort by weeks and ensuring secure, reliable updates for users. The v2.0.0 release is a security-driven major version: it removes deprecated OpenSSL signing and SHA-1, defaults to SHA-512, and adds GPG signature verification — a clear win for security reviews and enterprise buyers, with no expected impact on standard Laravel Zero apps since the removed features were never supported there. The trade-offs are a PHP 8.2 support drop and a small migration task for any custom strategies due to strict typing; both should be scheduled rather than absorbed silently. Executives gain reduced support costs, a stronger security narrative, and faster feature delivery; engineers get a battle-tested solution with built-in rollback, modern hashing defaults, and multiple update strategies, avoiding complex security pitfalls.
How can I help you explore Laravel packages today?