I have just published and SmartSerializer library for PHP 8. It is highly dedicated to cooperate with Symfony 6 framework and allows to serialize any object by the customized annotation. See details at: https://packagist.org/packages/smartgroup/smart-serializer
SmartSerializer library for PHP published