Weave 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 Method

Http Method Laravel Package

ergebnis/http-method

A small Composer package providing named constants for HTTP request methods, so you can reference GET, POST, PUT, PATCH, DELETE, and others by name instead of magic strings in your PHP code.

View on GitHub
Deep Wiki
Context7

ergebnis/http-method is a focused PHP package that provides constants for HTTP request method names, allowing you to replace magic strings such as 'GET' or 'POST' with named, autocompletable constants anywhere in your codebase.

It is deliberately framework-agnostic and complements HTTP abstractions like Symfony HttpFoundation, Laminas HTTP, and PSR-7 implementations, which typically define their own private copies of these values.

  • Constants for all standard methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE, CONNECT
  • Framework-agnostic — usable with Symfony, Laminas, and PSR-7/PSR-17 stacks
  • Eliminates magic strings and typos in request-handling logic
  • Installed via Composer with PSR-4 autoloading
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.
vento/laravel-airbrake
wfeller/laravel-batch
maco-studios/mage-os-installer
busarm/armie
siberfx/laravel-logger
kfteam1991/dcat-admin
dashed/dashed-laposta
dashed/dashed-ecommerce-montaportal
dashed/dashed-ecommerce-etsy
neohq/string-blade-compiler
log1x/acf-composer
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager