PHPackages                             ali1/cakephp-param-converter - 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. [Framework](/categories/framework)
4. /
5. ali1/cakephp-param-converter

AbandonedArchivedCakephp-plugin[Framework](/categories/framework)

ali1/cakephp-param-converter
============================

Param converter for CakePHP Routing

2.0.1(1mo ago)030MITPHPPHP ^8.2

Since Apr 26Pushed 3w agoCompare

[ Source](https://github.com/Ali1/cakephp-param-converter)[ Packagist](https://packagist.org/packages/ali1/cakephp-param-converter)[ RSS](/packages/ali1-cakephp-param-converter/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (13)Versions (10)Used By (0)

Param Converter
===============

[](#param-converter)

CakePHP v5.x plugin for converting request parameters to objects. These objects replace the original parameters before dispatching the controller action and hence they can be injected as controller method arguments.

Heavily inspired by [Symfony ParamConverter](https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html)

Install
-------

[](#install)

Using Composer:

```
composer require ali1/cakephp-param-converter

```

You then need to load the plugin. You can use the shell command:

```
bin/cake plugin load ParamConverter

```

Usage
-----

[](#usage)

To use, start using typed arguments in controller methods.

Entity and Date examples

```
