Doctrine Extensions
Doctrine
Our great sponsors
Doctrine Extensions | Doctrine | |
---|---|---|
6 | 13 | |
3,990 | 9,818 | |
0.3% | 0.2% | |
8.4 | 9.8 | |
about 13 hours ago | 10 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Doctrine Extensions
- similar bundle / approach to laravel-activitylog
-
Symfony : looking for good/best practice about the rollback of values of an entity modified by an user
Loggable doctrine extension might be what you're looking for.
- Build an audit log for your Symfony app with Doctrine events
-
Multilingual content in database
For database content, I use Gedmo/Translation
-
Why is symfony better for long life big enterprise apps than laravel?
This is the real case I have, except it is not User and Images but User and many more things that do result in thousands of something that needs removal. So when admin deletes User, it is actually soft-delete behavior but the actual deletion is done in background.
-
Implementing a detailed auditing system
https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/doc/loggable.md you might want to look into this one
Doctrine
-
Bisecting vendors
If you compare 2.17.x with 2.16.x, you can see quite a few contributions, over a long period of time, and by many different people. Some of them are part of the Doctrine core team, some others are returning contributors, and a few made their very first contribution to that repository. They all do that on their spare time, sometimes after a long day of paid work, take vacations, have a family to take care of. The core team is subscribed to issues, but it's unlikely that contributors are.
-
postgres and doctrine - don't know where to put this default preference.
(ClassMetadataFactory.php:766 called by ClassMetadataFactory.php:625, https://github.com/doctrine/orm/issues/8893, package doctrine/orm)
-
Feedback on sfCon 2022
Next, I went to see Nicolas Grekas' talk about proxies: he presented different ways to implement a proxy system, and examples of each one that can be found in Symfony or Doctrine. Doctrine has an old implementation in doctrine/common that we are trying to get rid off, and Nicolas has proposed to replace those with Lazy Ghost proxies. I know, I know, funny name. 👻 Lazy ghost proxies cannot be used with final classes, or internal classes, but do allow to use a fluent API, which makes them a good fit for doctrine/orm entities.
-
Moving from Annotations to Attributes with Doctrine ORM
Also, since 2.13.0, you get validation at runtime. But it depends on the context I'd say. For instance, for the test suite of doctrine/orm, the best solution is Attributes IMO. When you're doing DDD, XML sounds great!
- Doctrine preUpdate event not triggered for empty association field.
-
Doctrine & Closed Manager : Showerthoughts
Solution 3 would be awesome but is far away. A closer term solution 4 could be to make the manager resettable.
-
PHP 8.1.0 has been tagged today!
It's tracked in this issue: https://github.com/doctrine/orm/issues/9021
-
Teaser: A php parser and company backend in emacs lisp
You're right, that one doesn't have type hints or phpdoc, I'm not quite sure why.. this one, which is installed in my vendor folder in the demo, does have phpdoc :)
-
Hoping for some experienced insight
Doctrine
- Anyone using Doctrine2 ORM mapping type: php?
What are some alternatives?
Doctrine2 Behaviors - Doctrine2 behavior traits that help handling Blameable, Loggable, Sluggable, SoftDeletable, Uuidable, Timestampable, Translatable, Tree behavior
Eloquent - [READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)
Elasticsearch Eloquent - ⚡️ Models like Eloquent for Elasticsearch.
RedBean - ORM layer that creates models, config and database on the fly
Pomm - PHP Object Model Manager for Postgresql
Medoo - The lightweight PHP database framework to accelerate the development.
Spot2 - Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer
Propel - Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
Idiorm - A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.
Atlas.Orm - A data mapper implementation for your persistence model in PHP.
Cake ORM - [READ-ONLY] A flexible, lightweight and powerful Object-Relational Mapper for PHP, implemented using the DataMapper pattern. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp