phar-io/composer-distributor
Library to build Composer plugins that install and update PHAR-based tools instead of source code. Ideal for dev utilities like PHPUnit/PHPStan/Psalm: keep installs via Composer while avoiding dependency conflicts by distributing signed PHAR releases.
Iterator type warnings fix eliminates deprecation notices in Laravel 9+/10+ (which use PHP 8.1+). This lowers technical risk for new integrations.vendor/bin structure without conflict, but the type safety improvement reduces edge-case failures in custom Artisan commands or service providers.phar-io/manifest, phar-io/version, webmozart/path-util).composer.lock. The PHP 8.1 fix does not address this, but reduces noise in logs/errors.composer.lock? (Unchanged, but now with cleaner PHP 8.1+ logs)composer.phar entirely? (Unchanged, but now safer in PHP 8.1+ environments)Iterator fix resolve any existing issues in custom Laravel integrations (e.g., typed service providers)? (Likely yes—verify in testing.)composer:distribute).ComposerDistributor::downloadAndVerify('2.5.8') now won’t trigger deprecation warnings.Iterator warnings.Iterator deprecation warnings in Laravel logs (PHP 8.1+).Iterator warnings are gone in PHP 8.1+, making errors easier to triage.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Network failure during download | Build hangs/times out | Unchanged: Retries or pre-cached PHARs. |
| Invalid PHAR signature | Build fails (security) | Unchanged: Pre-validate keys. |
| Cache corruption | Broken Composer in environment | Unchanged: Use storage:link + checksums. |
Iterator warnings (PHP 8.1+) |
Log noise, potential confusion | RESOLVED: Update to 1.0.2 to eliminate. |
composer-distributor/v1.0.2 to avoid Iterator warnings."1.0.2.How can I help you explore Laravel packages today?