
Testing delayed Symfony Messenger message handling with Behat
Lately, I’ve been working on a hobby project that has many scenarios where operations are getting scheduled to be handledasynchronously in the future - somet...
Dejan AngelovPublished a new version of my PHPUnit extension for using the PHP-VCR library inside tests - it now supports PHPUnit 11 -
https://github.com/angelov/phpunit-php-vcr #php #phpunit
GitHub - angelov/phpunit-php-vcr: A library that allows you to easily use the PHP-VCR library in your PHPUnit tests.
A library that allows you to easily use the PHP-VCR library in your PHPUnit tests. - GitHub - angelov/phpunit-php-vcr: A library that allows you to easily use the PHP-VCR library in your PHPUnit te...
GitHub
Resolving values for unmapped properties when mapping request data to DTOs in Symfony 6.3+
Ever since it was introduced,the functionality for mapping request data to DTOs has been my favourite Symfony 6.3 new feature. The new #[MapRequestPayload] a...
Dejan AngelovPublished a new package for using PHP-VCR within PHPUnit tests -
https://github.com/angelov/phpunit-php-vcr/ #php #testing #phpunit #vcr
GitHub - angelov/phpunit-php-vcr: A library that allows you to easily use the PHP-VCR library in your PHPUnit tests.
A library that allows you to easily use the PHP-VCR library in your PHPUnit tests. - GitHub - angelov/phpunit-php-vcr: A library that allows you to easily use the PHP-VCR library in your PHPUnit te...
GitHubCentralized exception handling with Symfony and custom PHP attributes
Over time, as our application grows, the controllers can become cluttered with repeated exception handling code. In this article we’ll see how we can have bo...
Dejan AngelovPublished a new blog post: "Using custom PHP attributes for registering and configuring Symfony Messenger handlers" #php #symfony
https://angelovdejan.me/2022/05/10/experimental-unpacking-message-properties-as-method-arguments.html

Experimental: Unpacking message properties as handler arguments in Symfony Messenger
In my previous post, we saw that by using custom PHP attributes, we can have our Symfony Messenger message handlers placed in any service in our application....
Dejan Angelov