Advertisement · 728 × 90

Posts by Romain Canon

2 weeks ago 0 0 0 0

Ouiiiiiiiiiiiii 🤩

Félicitations et bravo 🍅❤️

2 weeks ago 1 0 0 0
Video

Imaginez 10 ans plus tard je sors une suite à Curvytron et je l’annonce un 1er avril ?
Nan je rigole.

Mais imaginez quand même : curvytron2.com

2 weeks ago 16 11 3 1
Preview
Sponsor @romm on GitHub Sponsors

Grab it while it's hot 🔥

`composer require cuyz/valinor:^2.4.0`

I maintain this OSS project on my spare time — if you want to ensure its future, please consider sponsoring my work 🤗

github.com/sponsors/romm

3 weeks ago 0 1 0 0
Code snippet that shows how to use Valinor's case restriction configurators

Code snippet that shows how to use Valinor's case restriction configurators

✨ We also got you covered for when you want to enforce the key case…

⤵️

3 weeks ago 0 1 1 0
Code snippet that shows how to use Valinor's case conversion configurators

Code snippet that shows how to use Valinor's case conversion configurators

✨ And the first configurators provided out of the box are the case conversion configurators: automatically convert source keys to `camelCase` or `snake_case` formats!

⤵️

3 weeks ago 0 1 1 0
Code snippet that shows how to use Valinor's mapper configurators

Code snippet that shows how to use Valinor's mapper configurators

Code snippet that shows how to use Valinor's normalizer configurators

Code snippet that shows how to use Valinor's normalizer configurators

🔥 This release also brings support for mapper/normalizer configurators: reusable piece of configuration logic.

This is useful when the same configuration needs to be applied in multiple places across an application, or when configuration logic needs to be distributed as a package.

⤵️

3 weeks ago 0 1 1 0
Code snippet that shows how to use HTTP request mapping with Mezzio

Code snippet that shows how to use HTTP request mapping with Mezzio

The awesome @ocramius.mastodon.social.ap.brid.gy has been working on a native integration with Mezzio!

This means being able to *very easily* map PSR-7 requests to strictly-typed objects!

Look at the example below to see how trivial it becomes.

More info: github.com/mezzio/mezzi...

⤵️

3 weeks ago 0 0 1 0
Code snippet that shows how to use HTTP request mapping with Symfony

Code snippet that shows how to use HTTP request mapping with Symfony

The Symfony bundle has been updated to support this feature out of the box!

More info: github.com/CuyZ/Valinor...

⤵️

3 weeks ago 0 1 1 0

This feature contains several parts:

- Attributes to enforce route/query/body source
- Mapping a whole query/body to single parameter
- Mapping the HTTP request to an object
- PSR-7 support
- And of course, advanced types support and strict error handling with human-readable messages

⤵️

3 weeks ago 0 1 1 0
Advertisement

🔥 HTTP request mapping

Valinor now provides a way to map an HTTP request to controller parameters or object properties.

This gives controllers a clean, type-safe signature without coupling to a framework's request object, while benefiting from the library's validation and error handling.

⤵️

3 weeks ago 0 1 1 0
Post image

🔔 #PHP object-mapper library Valinor v2.4.0 released!

🚀 This huge release brings exciting new features:

- Out of the box HTTP request mapping
- Mapper/normalizer configurators
- CamelCase/snake_case keys conversion
- Keys case restriction

github.com/CuyZ/Valinor...

⤵️ see below for more details ⤵️

3 weeks ago 1 0 1 0
Preview
Release Hevlaska 6.0.0 · php-standard-library/php-standard-library PSL 6.0.0 PSL 6.0 is the biggest release in the project's history. New home, new packages, new capabilities. A new home PSL has moved. The repository, the organization, the website - everything has...

PSL 6.0 is out. 🎉

PHP Standard Library is now split into 61 standalone packages. Install only what you need:

$ composer require php-standard-library/async

No more pulling in 60 packages when you just need one.

github.com/php-standard-library/php-standard-library/releases/tag/6.0.0

#php #psl

1 month ago 2 2 0 0
25 ans à fédérer la communauté PHP en France...
Mais ce début d'année 2026 nous inquiète. Vraiment.

25 ans à fédérer la communauté PHP en France... Mais ce début d'année 2026 nous inquiète. Vraiment.

Fêter 25 ans ensemble, c'était beau. Mais 2026 s'annonce difficile pour l'AFUP. Sponsors en retrait, billetteries en recul… Sans la communauté, il n'y a pas d'AFUP.
On vous explique nos difficultés dans cet article, et on compte sur vous ! 💙
buff.ly/sh1OMTU

1 month ago 11 21 0 0

Thanks you @mopolo.dev for helping out!

1 month ago 0 0 0 0

🚚 The `.io` domain names have become really expensive over the past couple of years, so I’ve decided to move the #PHP Valinor documentation from valinor.cuyz.io to valinor-php.dev

1 month ago 0 2 1 0
Preview
Release 2.3.2 · CuyZ/Valinor Notable changes End of PHP 8.1 support PHP 8.1 security support has ended on the 31st of December 2025. See: https://www.php.net/supported-versions.php Removal of composer-runtime-api package depen...

🔔 #PHP object-mapper library Valinor v2.3.2 released!

Mainly a bug-fix release, with 2 notable changes:

- End of PHP 8.1 support (support ended in December 2025)
- Removal of `composer-runtime-api` requirement, making this library completely dependency free. 🎉

github.com/CuyZ/Valinor...

2 months ago 0 0 0 0

Coucou Lille, on se voit le 22 mai pour parler de tests ? 🤗

3 months ago 3 1 0 0

Just updated my profile picture, after more than a decade with the old one everywhere on the web! It feels weird but refreshing 😅

4 months ago 2 0 0 0

And now @packagist.com 🔥

Thank you so much for sponsoring my work and placing trust in my humble contribution to the PHP ecosystem! 🙏

4 months ago 4 1 1 0
Advertisement
Preview
GitHub - CuyZ/Valinor: PHP library that helps to map any input into a strongly-typed value object structure. PHP library that helps to map any input into a strongly-typed value object structure. - CuyZ/Valinor

✨ Thank you @pscheit.bsky.social for the generous sponsoring, which allows me to spend more time on Valinor! OSS community is the best! 🚀

github.com/CuyZ/Valinor...

4 months ago 2 0 1 1
Post image
4 months ago 2935 1202 16 20
Test output before Symfony 7.4

Test output before Symfony 7.4

Test output as of Symfony 7.4

Test output as of Symfony 7.4

As of #Symfony 7.4, functional tests’ error rendering will finally get you straight to the point with a beautiful, concise output 🥳 Especially useful when doing large refactorings that make dozens of such tests fail while progressing.

Before/After 👇

5 months ago 22 7 4 0

We've already had really interesting feedback 🔥

I just added a new option E to the poll (explanation is in the thread) — I'd love to have more feedback on how you handle your HTTP requests; Help us making it easy to map a request's values to your controllers!

github.com/CuyZ/Valinor...

5 months ago 1 0 0 0
Preview
Mapping HTTP request parameters using Valinor for type-safe controller calls · CuyZ Valinor · Discussion #736 I've lately been working on native HTTP request mapping, provided out of the box by this library. The goal is to ease the validation and mapping of the HTTP request's parts — query parameters, (rou...

🚀 Mapping an HTTP request to a controller using Valinor will soon be a thing!

But before that, I need help and feedback from people — I'd love if you could read and vote on this discussion:

github.com/CuyZ/Valinor...

Thanks a lot! 🙏

(RT for reach? 🥹)

6 months ago 1 2 0 1
Preview
Release 2.2.1 · CuyZ/Valinor ⚠️ Important changes ⚠️ This release contains a lot of internal refactorings that were needed to fix an important bug regarding converters. Although we made our best to provide a stable release, bu...

🔔 #PHP object-mapper library Valinor v2.2.1 released!

This version is sponsored by @elias.haeussler.dev who sent a generous donation ❤️

A huge effort was spent to fix a nasty bug, this *could* break your app if you use converters — please read release notes carefully:

github.com/CuyZ/Valinor...

6 months ago 1 0 0 0

Mérité à peu près à 1000%

6 months ago 0 0 1 0
Advertisement
People on stage talking about PHP

People on stage talking about PHP

@dunglas.dev, @nicolasgrekas.bsky.social, @asgrim.dev and Gina Banyard talking about PHP, its future and @thephpf.bsky.social 🐘

Thank you @afup.org for this amazing event!

6 months ago 1 1 0 0
Post image

In four days at #ForumPHP, I’ll explain how to never run out of clean socks.

(and, incidentally, how to handle #Symfony deprecations)

6 months ago 10 6 0 0

Baptiste Langlade ❌
⬇️
Baptiste Monade ✅

6 months ago 0 0 1 0