PHPackages                             gerfey/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gerfey/laravel-param-converter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gerfey/laravel-param-converter
==============================

Adding the ability to work with Symfony ParamConverter in Laravel.

11.3k1PHP

Since May 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Gerfey/laravel-param-converter)[ Packagist](https://packagist.org/packages/gerfey/laravel-param-converter)[ RSS](/packages/gerfey-laravel-param-converter/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Param Converter
=======================

[](#laravel-param-converter)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Gerfey/laravel-param-converter/blob/master/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/8b7b99e7c74dcee27fe40826ee21fa71400d4664f818b3c336025b7b79548fb6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6765726665792f6c61726176656c2d706172616d2d636f6e7665727465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Gerfey/laravel-param-converter)

Добавляем возможность работать c Symfony ParamConverter в Laravel.

Оглавление
----------

[](#оглавление)

- [Основная информация / Basic information](README.md)
- *Примеры / Examples*
    - [Токен / Token](./docs/examples/token.md)

Установка / Installation
------------------------

[](#установка--installation)

Предпочтительный способ установки - через [Packagist](https://packagist.org/packages/gerfey/laravel-param-converter) и [Composer](http://getcomposer.org/). Запустите следующую команду, чтобы установить пакет и добавить его в качестве require в "composer.json" вашего проекта:

```
composer require gerfey/laravel-param-converter
```

Настройка / Configuration
-------------------------

[](#настройка--configuration)

Вам нужно опубликовать конфигурацию, чтобы добавлять свои собственные преобразователи параметров. Конфигурация доступна по пути `config/param-converter.php`

```
php artisan vendor:publish --tag="param-converter"
```

Собственные преобразователи параметров / Custom parameter converters
--------------------------------------------------------------------

[](#собственные-преобразователи-параметров--custom-parameter-converters)

Изучаем [документацию](http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html#creating-a-converter) по преобразователям.

Все преобразователи должны реализовывать `ParamConverterInterface`.

Готовый преобразователь параметров, нужно будет подключить в файле конфигурации `config/param-converter.php` ключ с перечислением `converters`.

Copyright and License
---------------------

[](#copyright-and-license)

The gerfey/laravel-param-converter library is copyright © [Alexander Levchenkov](https://vk.com/gerfey) and licensed for use under the MIT License (MIT). Please see [LICENSE](https://github.com/Gerfey/laravel-param-converter/blob/master/LICENSE) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7010269?v=4)[Gerfey](/maintainers/Gerfey)[@Gerfey](https://github.com/Gerfey)

---

Top Contributors

[![Gerfey](https://avatars.githubusercontent.com/u/7010269?v=4)](https://github.com/Gerfey "Gerfey (7 commits)")

---

Tags

gerfeylaravelparamconverterphpphp8symfony

### Embed Badge

![Health badge](/badges/gerfey-laravel-param-converter/health.svg)

```
[![Health](https://phpackages.com/badges/gerfey-laravel-param-converter/health.svg)](https://phpackages.com/packages/gerfey-laravel-param-converter)
```

###  Alternatives

[phpseclib/bcmath_compat

PHP 5.x-8.x polyfill for bcmath extension

16721.2M25](/packages/phpseclib-bcmath-compat)[wikimedia/aho-corasick

An implementation of the Aho-Corasick string matching algorithm.

563.9M6](/packages/wikimedia-aho-corasick)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.7M20](/packages/tecnickcom-tc-lib-color)[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.2M216](/packages/symfony-ai-platform)[jfcherng/php-mb-string

A high performance multibytes sting implementation for frequently reading/writing operations.

145.5M2](/packages/jfcherng-php-mb-string)[wplake/typed

Lightweight PHP utility for seamless type-casting and data retrieval from dynamic variables, arrays, and objects.

231.2k](/packages/wplake-typed)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
