PHPackages                             makinacorpus/argument-resolver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. makinacorpus/argument-resolver

ActiveLibrary

makinacorpus/argument-resolver
==============================

Callback argument resolver interface and implementations.

1.0.7(3y ago)11.7k↓50%3GPL-2.0-or-laterPHPPHP &gt;= 8.0

Since Apr 21Pushed 3y ago2 watchersCompare

[ Source](https://github.com/makinacorpus/argument-resolver)[ Packagist](https://packagist.org/packages/makinacorpus/argument-resolver)[ RSS](/packages/makinacorpus-argument-resolver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (9)Used By (3)

Callback argument resolver
==========================

[](#callback-argument-resolver)

Provide a callback argument resolver interface and implementation, very similar to `symfony/http-kernel`'s `ArgumentResolver` class implementation, but usable out of Symfony project and HTTP context.

This API does not depend upon any other, and has copy-pasted some code from the Symfony component:

- This choice has been made because Symfony's code hardwires the Request object dependency as a part of its API where we need to be able to use this API out of the HTTP context.
- This makes this component resilient to Symfony code changes in the long term and simplifies maintainance.

1.0 Roadmap
===========

[](#10-roadmap)

- API basics
- Retrieve features from `makinacorpus/access-control`
- Basic Symfony bundle
- Service argument value resolver

Get started
===========

[](#get-started)

Installation
------------

[](#installation)

Install it using composer:

```
composer require makinacorpus/argument-resolver
```

As Symfony bundle setup
-----------------------

[](#as-symfony-bundle-setup)

Then add to your `config/bundles.php` file:

```
