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

Api Request Convert Laravel Package

tandrewcl/api-request-convert

A Laravel package for converting API requests into structured, ready-to-use data. It streamlines request handling so controllers stay clean, mapping incoming payloads into consistent formats for validation, processing, and responses.

View on GitHub
Deep Wiki
Context7

Getting Started

v1.1.0 is a maintenance/compatibility release: the advertised change is removal of a Symfony 7.1 deprecation. Treat it primarily as an upgrade to keep a Laravel app aligned with Symfony 7.1, not as a source of new day-to-day features.

Start by checking:

  1. composer.json constraints for php, laravel/framework, and symfony/*.
  2. The README and CHANGELOG for install/config steps and any upgrade notes.
  3. The package service provider, config file, and tests to see how it is intended to be wired into Laravel.
  4. Your app’s deprecation logging, especially if you run Symfony 7.1 components.

Minimal first use case:

composer require <vendor>/<package>:^1.1
php artisan vendor:publish --provider="<Vendor>\\<Package>\\<PackageServiceProvider>"
php artisan migrate # only if the package ships migrations
php artisan about

Then use the package through its documented Laravel entry point—typically dependency injection in a controller, command, job, or listener—and run your test suite plus a deprecation check.

Implementation Patterns

Use v1.1.0 as a compatibility upgrade in CI first:

  • Add a CI matrix entry for Symfony 7.1 where the package supports it.
  • Run composer update <vendor>/<package> --with-dependencies in a branch.
  • Execute the full Laravel test suite, then check storage/logs/laravel.log and your deprecation channel for remaining Symfony notices.

Day-to-day integration should stay at Laravel’s boundaries:

  • Resolve the package through the container rather than constructing internals directly.
  • Keep package-specific calls behind a small adapter/service class if the package wraps Symfony components.
  • Prefer Laravel events, jobs, and commands as the invocation surface so Symfony compatibility changes stay contained.
  • If the package publishes config, treat the published file as app-owned and diff it against the package’s current config after upgrading.
  • In tests, enable deprecation-to-exception behavior for the package’s namespace or Symfony bridge so future compatibility regressions fail fast.

A practical workflow:

  1. Upgrade the package to ^1.1.
  2. Run composer why-not <vendor>/<package> 1.1.0 if resolution fails.
  3. Run the app’s feature tests and at least one queued-job/command path that uses the package.
  4. Confirm no new deprecations are emitted under Symfony 7.1.
  5. Deploy as a normal maintenance release.

Gotchas and Tips

  • “Remove deprecation” is usually low-risk, but still inspect the diff for signature, type, or constructor changes. Deprecation cleanup can accidentally become a minor behavioral change.
  • Symfony 7.1 compatibility may imply newer PHP or Laravel constraints. Check composer.json before assuming your current Laravel version is supported.
  • Composer may keep an old lock resolution. Use composer update <vendor>/<package> --with-dependencies, then composer dump-autoload.
  • Clear Laravel caches after upgrade: php artisan config:clear, php artisan cache:clear, and php artisan optimize:clear.
  • Deprecations are easy to miss. Set LOG_DEPRECATIONS_CHANNEL appropriately and scan logs in CI or local runs.
  • If the package bridges Symfony container/events/console components, test those integration points explicitly. Laravel’s container and Symfony’s container can mask different deprecation paths.
  • Check extension points before overriding behavior: service-provider bindings, published config, events, and interfaces are safer than subclassing internals.
  • Do not plan new feature work around v1.1.0. It is a compatibility/maintenance release; the main value is keeping Symfony 7.1 projects clean and upgradeable.
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib