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

Php Archive Laravel Package

splitbrain/php-archive

Pure-PHP library to create and extract common archive formats. Provides a simple API for reading/writing files in archives without requiring system binaries, useful for packaging assets, backups, or installers in PHP projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables cross-platform archive handling without system dependencies (e.g., tar/zip binaries or PHP extensions), critical for shared hosting environments or cloud platforms with restricted permissions
  • Supports secure operations by eliminating shell_exec calls, addressing compliance requirements for regulated industries (HIPAA, GDPR)
  • Reduces build vs. buy tradeoffs by providing a maintained MIT-licensed solution for core archive needs, avoiding custom development costs and maintenance overhead
  • Simplifies deployment in constrained environments (e.g., serverless platforms) where native extensions are unavailable or disabled

When to Consider This Package

  • Adopt when PHP extensions (e.g., ext-zip) are unavailable, disabled, or prohibited by security policies (e.g., strict hosting environments)
  • Use for non-performance-critical tasks like user-uploaded file processing, build artifacts, or internal tooling where simplicity outweighs speed
  • Avoid if:
    • Performance is critical (pure-PHP is 3-10x slower than native extensions)
    • Advanced features are required (multi-volume ZIP, encryption, extended attributes)
    • High-traffic or mission-critical systems demand proven stability (current low adoption: 105 stars, quality score 2.99)
  • Prioritize alternatives like ext-zip or Flysystem adapters for standard Laravel deployments where native extensions are available

How to Pitch It (Stakeholders)

Executives: "This package eliminates dependency headaches and security risks by handling archives entirely in PHP—no server configuration or shell commands needed. It’s MIT-licensed, ensuring zero legal friction, and guarantees our product works consistently across any hosting environment, from shared servers to cloud platforms."
Engineering: "It’s a zero-configuration, pure-PHP solution that removes external tool dependencies, simplifying deployment and reducing attack surfaces. While performance may lag behind ext-zip, it’s ideal for non-performance-critical tasks like user-uploaded file processing. We’ll benchmark it against our needs to confirm suitability and isolate it to non-critical workflows."

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
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
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