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

Product Decisions This Supports

This package remains irrelevant for modern Laravel projects due to its PEAR-based dependency model, which is incompatible with Laravel’s Composer ecosystem. While the new release (1.6.0) introduces big file support and fixes minor bugs, it does not address the core issue: Laravel cannot integrate PEAR packages. The removal of PHP 5.4/5.5 support further confirms its irrelevance, as modern Laravel projects require PHP 8.x.

Key takeaways:

  • No Composer support → Cannot be used in Laravel.
  • Big file support is niche and better handled by modern alternatives (e.g., league/flysystem, spatie/laravel-temporary-filesystem).
  • Deprecation of shims (e.g., gzopen) suggests the package is moving toward stricter PHP standards, but this does not resolve its Laravel incompatibility.

Roadmap implication: If the package were to add Composer compatibility, it might warrant reconsideration—but as of now, it remains a legacy dead-end.


When to Consider This Package

Never for Laravel or modern PHP projects. The package still:

  1. Lacks Composer support → Incompatible with Laravel’s dependency system.
  2. Has minimal adoption (75 stars, 21.395 score) → No active community.
  3. Future-dated release (2025-07-19) → Likely a metadata error, reinforcing distrust.
  4. No Laravel-specific use cases → Modern alternatives (e.g., spatie/laravel-tar-archive, phpseclib) exist.

Consider only if:

  • Maintaining a legacy PHP 5.6+ system (not Laravel) with no Composer.
  • Requiring obscure TAR operations with no better alternatives (still risky).
  • Willing to fork and Composerize the package (high effort, low ROI).

How to Pitch It (Stakeholders)

To executives: "This package is a legacy PEAR tool with no path to Laravel integration. While it now supports big files and fixes minor bugs, it’s not installable via Composer—meaning we’d need to maintain a separate, unsupported dependency. Modern alternatives like league/flysystem or Laravel-specific packages handle file operations more reliably. Using this would create technical debt without business value. I recommend avoiding it entirely."

To engineering: *"This is still a PEAR package—Laravel doesn’t support PEAR. The new release drops PHP 5.4/5.5 (good) but adds no Composer support (bad). For TAR handling:

  • Use PharData for simple cases.
  • Use spatie/laravel-tar-archive for Laravel projects.
  • Avoid this package unless you’re maintaining a non-Composer PHP 5.6+ monolith. Even then, better options exist (e.g., phpseclib). No justification to adopt this."*
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