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

Rest Process Bundle Laravel Package

cleverage/rest-process-bundle

CleverAge/RestProcessBundle adds REST integration to the CleverAge ProcessBundle for Symfony, letting you connect process workflows to HTTP APIs. Compatible with stable Symfony and LTS releases; pair it with the core ProcessBundle docs.

View on GitHub
Deep Wiki
Context7
v3.2

Changes

  • #31 Add missing tests: RequestTask and Client with a mocked HTTP client, MissingClientException, bundle and DI extension.
  • #39 Add Client::getUri(), deprecate the misspelled geUri(); type MissingClientException::create(). Update documentation, add tests.
  • #33 Give the ids of both services in the error on duplicate client codes: the clients are registered by a compiler pass of the bundle, ClientRegistry::addClient() gets an optional $serviceId argument. Update documentation, add tests.

Fixes

  • #35 Fix RequestTask: a 3xx / 4xx / 5xx status code listed in valid_response_code outputs the response body (the task still failed). Update documentation, add tests.
  • #36 Fix RequestTask: log transport errors (the log was lost, reading the response details threw again). Update documentation, add tests.
  • #37 Fix RequestTask log_response: log the requested URL, and the status code, headers and content of the response (instead of the configured URL and the response object). Update documentation, add tests.
  • #38 Fix RequestTask: throw an explicit \UnexpectedValueException on a non-array input; Client: convert scalar URL parameters to strings (a TypeError was triggered). Update documentation, add tests.
v3.0

Add

  • #22 - Support PHP 8.5 / Symfony 8

Breaking Changes

  • #22 - Drop PHP 8.1 / Symfony 7.3
v2.3

Changes

  • #20 Upgrade to Symfony 7.3 & PHP 8.4
v2.2

Changes

  • #17 Improve errors handling using valid_response_code. Allow ClientExceptionInterface if valid_response_code between 400 & 499 exists. Allow RedirectionExceptionInterface if valid_response_code between 300 & 399 exists.

Fixes

  • #16 Add missing shared: false on tasks
v2.1

Changes

  • #10 Add 201 and 204 to valid_response_code
  • #14 Add request_options on RequestTask error log

Fixes

  • #12 PUT and PATCH with send: application/json must be send as json.

Full Changelog: https://github.com/cleverage/rest-process-bundle/compare/v2.0.0...v2.1

v2.0.0

BC breaks

  • #3 Replace nategood/httpful dependency by symfony/http-client
  • #3 Update Tasks for "symfony/http-client": "^6.4|^7.1"
  • #4 Update services according to Symfony best practices. Services should not use autowiring or autoconfiguration. Instead, all services should be defined explicitly. Services must be prefixed with the bundle alias instead of using fully qualified class names => cleverage_rest_process
  • RequestTask : query_parameters option is deprecated, use data instead
  • Remove RequestTransformer, use RequestTask instead.

Changes

  • #1 Add Makefile & .docker for local standalone usage
  • #1 Add rector, phpstan & php-cs-fixer configurations & apply it
  • #2 Remove sidus/base-bundle dependency
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package