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 Laravel Package

nette/http

Nette HTTP provides a clean, lightweight HTTP layer for PHP apps. It handles requests, responses, headers, cookies, sessions, and URL utilities with a consistent API, making it easy to build frameworks, middleware, or standalone services.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables secure, standardized HTTP handling without framework lock-in for standalone PHP projects or microservices
  • Supports critical security decisions: built-in data sanitization, SameSite cookie enforcement, and header injection protection reduce vulnerability surface area
  • Informs build-vs-buy decisions by providing battle-tested HTTP primitives (Request/Response/Session) that eliminate reinventing core web infrastructure
  • Guides roadmap planning for projects needing advanced URL manipulation (canonicalization, query parameters), file upload security, or session management beyond PHP's native capabilities
  • Validates use cases where lightweight HTTP abstraction is required without full-stack framework overhead (e.g., API gateways, CLI tools, or legacy system integration)

When to Consider This Package

  • When building PHP applications outside Laravel/Symfony ecosystems that require robust HTTP handling with security-first defaults
  • For projects needing modern cookie security (SameSite=Lax by default), URL parsing with IDN support, or secure file upload validation
  • When PHP 8.1+ is available (required for v3.x) and you need type-safe HTTP abstractions with strict type hints
  • Look elsewhere when: Using Laravel/Symfony (their native HTTP components are more integrated), building monolithic apps needing full-stack features, or requiring PHP <8.1 support (v2.x has limited maintenance)

How to Pitch It (Stakeholders)

Executives: "This package provides enterprise-grade HTTP security out-of-the-box—handling cookie safeguards, data sanitization, and header validation to prevent common web vulnerabilities like XSS and session hijacking. It’s a lightweight, standalone solution that reduces our attack surface without requiring a full framework, accelerating secure development while cutting infrastructure costs."

Engineering: "It delivers rigorously tested HTTP primitives (Request/Response/Session) with PHP 8.1+ features—secure URL manipulation, SameSite cookie enforcement, and file upload validation. No framework dependencies, minimal overhead, and consistent security patterns that replace manual superglobal handling. Ideal

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