laravel-zero/phar-updater
Self-update backend for Laravel Zero PHAR apps. Supports SSL/TLS verification, OpenSSL PHAR signatures, rollback, and update strategies like SHA-1/256/512 hash sync and GitHub Releases. Simple API: updates or throws exceptions.
Architecture fit: Optimized for PHAR-based CLI applications (e.g., Laravel Zero tools) but irrelevant for web applications or non-PHAR deployments. Provides secure self-update capabilities with SSL/TLS verification and OpenSSL signing support, aligning perfectly with single-file distribution requirements for command-line tools.
Integration feasibility: Low friction for PHAR projects via Composer. Requires OpenSSL extension and allow_url_fopen enabled. API is straightforward with clear methods (update(), hasUpdate(), rollback()). GitHub strategy requires release setup but has explicit documentation. Limited to PHP environments meeting extension requirements.
Technical risk: Very low adoption (16 stars, 0 dependents) indicates minimal production testing. SHA-1 strategy is deprecated but still present, risking insecure practices if misconfigured. No enterprise support or SLA. Potential for update failures due to network issues, disk space
How can I help you explore Laravel packages today?