Андрей Яценко (@yzen_dev) profile picture

https://nitter.gq/t.co/yqnIssmLzz

Краснодар, Россия
Joined August 2018
Hydrator that does not consume memory, does not require inheritance, does not depend on the framework, no unnecessary actions - just a quick conversion. Benchmark report: github.com/yzen-dev/php-dto-… #php #hydrator #DTO #composer
1
52
@mmartin_joo I will be grateful if you give your feedback
1
22
Below is a comparison of the speed of the closest competitors to my package The sources of my comparison are published on github github.com/yzen-dev/php-dto-…
1
1
18
An analysis of current similar solutions was also carried out. Unfortunately, some packages force the developer to inherit classes from their interfaces, which I really don’t want. Some dictate their class structure, which also entails changes in their established structure.
1
1
6
6) Refactoring allowed us to get a lot of acceleration +35%
1
1
6
5) Added transformCollection method to properly transform your collections
1
1
7
4) Support enum from php 8.1
1
1
14
3) Sometimes it is necessary to perform a post-check for data consistency or simply output a log. The afterTransform method will be called when the object is transformed
1
1
11
2) If a field requires additional processing during its initialization, you can make mutator. set{Attribute}Attribute method on your class where {Attribute} is cased name of the property you wish to access.
1
1
10
1) Alias support for properties. This can be useful when data is taken from various sources.
1
1
11
This library will allow you to easily convert any data set into the object you need. You are not required to change the structure of classes, inherit them from external modules, etc. No dancing with tambourines — just data and the right class. #php
1
1
28
ClassTransformer released v2.0 ✅ - Alias support - Custom setters for properties - Added afterTransform method - Support enum from php 8.1 - Added transformCollection and transformMultiple method - Speed gain 35% github.com/yzen-dev/plain-to… #PHP #DTO #composer #packagist #code
1
3
89
Заместо всякой "нейромузыки" лучше бы текущее доработали:/
Андрей Яценко retweeted
When a project manager comes to a developer to add a new feature
336
4,072
614
26,714
Replying to @mephistorine
Очко тоже работает не стабильно?
1
2
Так как mailtrap пригрустил, то для предлагаю свой пакет для Laravel github.com/yzen-dev/laravel-… Он поможет протестировать ваши email сообщения, проверить HTML, ссылки и т.д.
1
This solution will create its own mail transport, saving emails as daily logs, with the ability to view! github.com/yzen-dev/laravel-… #Laravel #php #mail
1
2