Title: doctrine In wordpress
Last modified: January 25, 2023

---

# doctrine In wordpress

 *  [generator2003](https://wordpress.org/support/users/generator2003/)
 * (@generator2003)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/doctrine-in-wordpress/)
 * hi someone has used doctrine in wordpress what are the best practices?
   I want
   to use doctrine for some internal plugins many developers from symphony world
   in my teamAs I understood the main wpdb ORM, is it generally planned to switch
   to something like doctrine or active records ORM ?

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/doctrine-in-wordpress/#post-16418467)
 * I know doctrine on wordpress only within plugins. There it is sometimes used 
   to simplify the possibilities for developers to implement additions. The disadvantage
   is that it bloats the plugin. A package, which would be only 2 kb without doctrine,
   is with doctrine suddenly over 200kb.
 * From my point of view, this also contradicts the guideline that WordPress plugins
   should be as minimalistic as possible. They should not contain any unneeded functions,
   but they do when you integrate doctrine. See manual: [https://developer.wordpress.org/plugins/](https://developer.wordpress.org/plugins/)
 * I don’t really think this makes sense from the point of view of users of plugins.
   There is simply no noticeable added value. Of course, this may be a matter of
   personal opinion.
 * If you’re wondering if there’s anything planned for wordpress core in this regard,
   I’d recommend taking a look at the core trac where developers evaluate feature
   requests. You can also ask your question there yourself: [https://core.trac.wordpress.org/newticket](https://core.trac.wordpress.org/newticket)

Viewing 1 replies (of 1 total)

The topic ‘doctrine In wordpress’ is closed to new replies.

## Tags

 * [db](https://wordpress.org/support/topic-tag/db/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/doctrine-in-wordpress/#post-16418467)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
