Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Archive Tar Laravel Package

pear/archive_tar

PEAR Archive_Tar handles TAR archives in PHP: create, list, extract, and append files. Supports gzip (zlib), bzip2 (bz2), and LZMA2/XZ compression when extensions are available.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Legacy PEAR package remains fundamentally incompatible with modern Laravel ecosystems. While the package now drops PHP 5.4/5.5 (aligning with Laravel’s minimum PHP 8.x requirements), it still lacks Composer support, requiring manual PEAR installation—a non-standard workflow in Laravel. The package’s continued reliance on PEAR (vs. PSR-4 autoloading) introduces architectural friction.

Integration feasibility: Very Low. No Composer integration means:

  • Manual PEAR installation conflicts with Laravel’s dependency isolation (risk of version collisions).
  • No composer.json or composer.lock compatibility, violating Laravel’s dependency management principles.
  • Undocumented Laravel service provider/container integration, requiring custom bootstrapping.
  • New in 1.6.0: "Big file support" (PR #51) and removal of gz* shims (PR #58) may improve functionality but do not address core Composer/autoloading gaps.

Technical risk: Critical.

  • Unmaintained: Future-dated release (2025-07-19) in metadata suggests either:
    • A malicious hoax (e.g., typosquatting), or
    • A stale fork with no active development.
  • No code review: Private/undocumented repository prevents security/vulnerability assessment.
  • Breaking changes: PHP 5.4/5.5 deprecation is irrelevant to Laravel (already unsupported), but the lack of a modern PHP 8.x test suite raises compatibility doubts.
  • Key questions:
    • Is this package actively maintained, or is it abandoned/abandonware?
    • What is the long-term roadmap for Composer/Laravel support?
    • Are there known vulnerabilities in the PEAR-based dependency chain?
    • How will this package handle Laravel’s service container (e.g., binding facades, config publishing)?

Integration Approach

Stack fit: Poor. The package’s PEAR dependency is incompatible with Laravel’s Composer-centric stack. Workarounds include:

  • Option 1 (Not Recommended): Manual PEAR installation + custom Laravel service provider to bridge PEAR classes into the container. Risks:
    • Dependency hell (PEAR vs. Composer version conflicts).
    • No autoloading support (manual include paths required).
  • Option 2: Fork the package into a Composer-friendly repository (e.g., convert to PSR-4, drop PEAR). High effort, no guarantee of success.
  • Option 3: Replace with a modern alternative (e.g., league/flysystem for file operations, spatie/array-to-object for data transformations).

Migration path: Blocked without fork.

  • No backward-compatible migration path exists due to PEAR/Composer divergence.
  • Laravel’s config/cache systems cannot integrate with PEAR’s static initialization.

Compatibility:

  • PHP 8.x: Officially supported (PHP 5.4/5.5 dropped), but no evidence of Laravel-specific testing.
  • Laravel Features: Untested with:
    • Service container binding.
    • Config publishing.
    • Queue/worker integration (if applicable).
    • Blade templating or Eloquent hooks.

Sequencing:

  1. Assess risk: Verify package authenticity (e.g., check GitHub repo, maintainer activity).
  2. Prototype: Test PEAR installation in a Laravel project (expect failures).
  3. Evaluate alternatives: Benchmark against modern packages (e.g., spatie/laravel-medialibrary for file ops).
  4. Decision: Abandon or fork (with full Laravel integration testing).

Operational Impact

Maintenance:

  • High effort: Manual PEAR updates, no Composer patching.
  • No Laravel conventions: Missing config/, migrations/, or providers/ integration.
  • Dependency bloat: PEAR’s global state conflicts with Laravel’s isolated environment.

Support:

  • No ecosystem: No Laravel-specific Stack Overflow tags, GitHub issues, or docs.
  • Debugging complexity: PEAR errors lack Laravel’s exception handling (e.g., no Reportable interfaces).
  • Vendor lock-in: Custom bootstrapping required for every Laravel project.

Scaling:

  • Performance unknown: PEAR’s global state may cause memory leaks in Laravel’s request lifecycle.
  • Horizontal scaling: PEAR’s static initialization could break queue workers or Horizon.

Failure modes:

  • Dependency collisions: PEAR’s global namespace may clash with Laravel’s app() container.
  • Security risks: Unpatched PEAR dependencies (e.g., PHP_GD or PHP_ZLIB) in Laravel’s isolated environment.
  • Upgrade path: No semantic versioning or Laravel-specific changelog.

Ramp-up:

  • Onboarding time: 4–8 hours to manually integrate PEAR into Laravel (vs. 15 minutes for a Composer package).
  • Knowledge gap: Requires PEAR expertise, rare in Laravel teams.
  • Documentation: None for Laravel use cases.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests