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

Graphql Upload Laravel Package

ecodev/graphql-upload

Laravel-friendly support for GraphQL multipart file uploads. Adds an Upload scalar and request handling so clients can send files with GraphQL operations, following the graphql-multipart-request specification. Suitable for APIs needing file uploads in GraphQL.

View on GitHub
Deep Wiki
Context7
8.0.1

Changes

  • Drop support for PHP 8.2 and 8.3
8.0.0

BREAKING CHANGE

  • Returns HTTP code 413 when post_max_size is exceeded #11708

    This case is not directly reported by PHP itself, neither via UploadedFileInterface, so we try our best to detect the situation and immediately returns the HTTP code 413. We do it immediately because when the case happens, PHP will leave $_POST entirely empty so we have no way to do anything further. So we let the client know via HTTP status and it is up to him to handle in the best way possible.

    When a 413 happens, the response body contains a detailed message similar to:

    {"message": "The server `post_max_size` is configured to accept 10.00 MiB, but received 28.00 MiB"}
    
  • UploadMiddleware::processRequest() is dropped entirely without replacement. If you need to use this library but you don't already use PSR-15 middleware, then you will have to implement a workaround yourself.

Added

  • Failed upload will throw the new UploadError #11708

    Previously it was up to the application to validate that the received UploadedFileInterface was $file->getError() === UPLOAD_ERR_OK. This is now included in UploadType and all UploadedFileInterface received by the application are guaranteed to be successful uploads.

Changed

  • Drop support for PHP 8.1
7.0.0

BREAKING CHANGE

  • Updated to webonyx/graphql-php 15 which has some breaking changes
  • Most classes are final

Added

  • PHP 8.2 support
6.1.5

Changes

  • Update GitHub Actions
6.1.4

Changes

  • Fixes CVE-2022-31109
  • Update PHP deps
6.1.3

Changes

  • Minimal version is PHP 8.1
6.1.2
6.1.1

Changes

  • Minimal version is PHP 7.4
4.1.0

Added

  • PHP 7.4 support
5.0.0

Fixed

  • Exclude dev files from composer package

BREAKING CHANGE

  • Remove outdated workaround for operationName and operation

    This is a breaking change only if you rely on the existing of operation instead of operationName in subsequent middleware. It is not breaking if you only use GraphQL\Server\StandardServer.

6.1.0

Added

  • PHP 8 support
6.0.0

BREAKING CHANGE

Updated to webonyx/graphql-php 14 which has some breaking changes

4.0.0

BREAKING CHANGE

  • Update to graphql-php 0.13
3.0.0

BREAKING CHANGE

  • Update to graphql-php 0.12, custom types method signatures should be updated
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.
calliostro/spotify-bundle
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle