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

Http Server Static Content Laravel Package

amphp/http-server-static-content

AMPHP HTTP server component for efficiently serving static files (assets, downloads) with correct MIME types, caching headers, range requests, and directory handling. Designed for non-blocking, event-driven apps built on amphp/http-server.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

This package supports decisions around building vs. buying static asset delivery for async PHP environments. It enables teams to avoid custom static file server implementations by leveraging a battle-tested, non-blocking solution for serving SPAs, downloads, and assets. Ideal for projects requiring high concurrency with minimal infrastructure overhead (e.g., microservices or serverless architectures using Amp), it aligns with roadmaps prioritizing performance-critical static delivery without sacrificing HTTP semantics or event-loop responsiveness.

When to Consider This Package

Only applicable for Amp-based applications (not traditional Laravel or PHP-FPM stacks). Consider when:

  • Your stack uses Amp HTTP server and requires async static file streaming
  • You need fine-grained control over HTTP headers, ETag handling, or directory indexes without external dependencies (e.g., Nginx)
  • Your team has Amp expertise and prioritizes event-loop efficiency under high load
    Look elsewhere if:
  • Using standard Laravel/Nginx setups (where Nginx or CDN is more efficient)
  • The project requires a widely adopted solution (this package has low adoption: 21 stars, low score)
  • You lack Amp experience or need enterprise-grade support (MIT license, but limited community traction)

How to Pitch It (Stakeholders)

Executives: "This package allows us to serve static assets with near-zero overhead in our async PHP environment, reducing infrastructure costs by eliminating the need for separate static file servers or CDNs. It ensures high performance under load while maintaining compliance with HTTP standards—directly improving user experience and scalability without complex architecture changes."

Engineering: "It’s a lightweight, drop-in middleware for Amp that handles static files asynchronously with proper ETag/If-Modified-Since support, MIME detection, and directory indexing. Integrates seamlessly with existing Amp pipelines, saving weeks of dev time while avoiding event-loop blocking—critical for our high-concurrency 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
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