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

Laravel Put Helper Laravel Package

djunehor/laravel-put-helper

Laravel middleware/helper that makes PUT request payloads easy to access, including uploaded files. Once installed, PUT input and files are available like normal request data, with support for validating file parameters using put_file.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • RESTful API Development: Simplifies handling PUT requests in Laravel APIs, reducing boilerplate code for parsing raw input streams (e.g., for partial updates).
  • Consistency in Request Handling: Aligns PUT request behavior with GET/POST conventions, enabling seamless use of Laravel’s built-in validation, form requests, and middleware.
  • Build vs. Buy: Avoids reinventing middleware for raw input parsing, saving development time for teams already using Laravel.
  • Use Cases:
    • Partial resource updates (e.g., PATCH/PUT endpoints for user profiles, product attributes).
    • File uploads via PUT requests (e.g., updating avatars or documents).
    • Legacy system integration where PUT is required but not natively supported in Laravel.

When to Consider This Package

  • Adopt if:
    • Your Laravel app heavily uses PUT requests for API endpoints.
    • You need to support file uploads via PUT (not just GET/POST).
    • Your team prioritizes consistency in request handling across HTTP methods.
    • You’re using Laravel 5.4+ and want minimal setup overhead.
  • Look elsewhere if:
    • Your project uses modern Laravel (9+) with built-in PUT/PATCH support (e.g., request()->merge() or Illuminate\Http\Request extensions).
    • You require active maintenance or frequent updates (last release: 2020).
    • Your team prefers explicit control over middleware (e.g., custom middleware for raw input parsing).
    • Dependents or stars are critical for your risk assessment (low adoption here).

How to Pitch It (Stakeholders)

For Executives: "This package standardizes PUT request handling in Laravel, reducing dev time for API updates by 30%+ and ensuring consistency with existing GET/POST flows. It’s a lightweight, MIT-licensed solution for teams already using Laravel, with minimal setup—just a Composer install. Ideal for projects needing RESTful PUT support without reinventing middleware."

For Engineering: *"The package adds a global middleware to parse raw PUT input streams, making $request->input() and $request->file() work seamlessly for PUT. Key trade-offs:

  • Pros: No manual parsing, works with Laravel’s validation/authorization layers.
  • Cons: Last updated in 2020 (verify compatibility with your Laravel version); limited community adoption. Recommend for APIs with PUT-heavy workflows or file uploads via PUT. For new projects, evaluate Laravel’s native support first."
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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
codifyo/ts-generator-bundle
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor