#doctrineORM

Me: Why is Doctrine (a PHP ORM) not hydrating my embedded class property? It's marked as embeddable and there are no nullable properties (something which does cause hydration to silently fail apparently). WHY CAN'T I GET THIS TO WORK?!

[a few hours later]

Me: Actually, I can take a different approach and avoid Doctrine embeddables entirely. \o/

#DoctrineORM #PHP

Benjamin Eberleibeberlei@phpc.social
2025-04-14

Here is a new video of me with an in-depth-tutorial on how #PHP 8.4s new lazy proxies work with a step-by-step example of how I integrated it into the upcoming #DoctrineORM 3.4.

Continuing my first baby steps with video content 🙈 Both kind and brutal feedback welcome in the comments 🤣

youtu.be/HflZlZ-5zho

Emanuele Panzthepanz@phpc.social
2024-05-24

Working on the #doctrineorm v1 codebase and its test suite, make you realise how much work has been done on #phpunit, and it simply works! Thank you @sebastian!

At the same time the legacy Doctrine v1 still manages OK-ish in the era of #php8 ! Still with no class namespaces and by implementing its own autoloading system! Is it probably from #php4 times? 🤔

Kudos to the original authors!
(Are they around here BTW?)

Emanuele Panzthepanz@phpc.social
2024-01-19

Trying to prepare a PR for #doctrineorm and got a weird message from #git

Thank you @greg0ire for starting a first "help-session", but we're still puzzled.

Anybody can reproduce it? Maybe a GIT guru is required 😅

for references: github.com/doctrine/orm/issues

#php #doctrine

A linux terminal showing a git error:


git clone git@github.com:doctrine/orm.git

Cloning into 'orm'...
remote: Enumerating objects: 183294, done.

remote: Counting objects: 100% (2024/2024), done.

remote: Compressing objects: 100% (642/642), done.

error: object 3c45ee692037350ffe3b20565bdff0952f60dbd6: zeroPaddedFilemode: contains zero-padded file modes

fatal: fsck error in packed object
fatal: fetch-pack: invalid index-pack output
2023-09-27

Clear, expressive, and type-safe way to represent entity identities by #DDD is to use strongly-typed ID's.

Example in #PHP using #doctrineORM when ID's are generated on client side.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst