PHP Doctrine

Open-source PHP projects categorized as Doctrine

Top 23 PHP Doctrine Projects

  • Grav

    Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony

  • Project mention: Ask HN: What products other than Obsidian share the file over app philosophy? | | 2024-04-03

    There are flat-file CMSes (content management systems) like Grav:

    I guess, in some vague/broad sense, config-as-code systems also implement something similar? Maybe even OpenAPI schemas could count to some degree...?

    In the old days, the "semantic web" movement was an attempt to make more webpages both human- and machine-readable indefinitely by tagging them with proper schema: Even Google was on board for a while, but I guess it never saw much uptake. As far as I can tell it's basically dead now, both because of non-semantic HTML (everything as a React div), general laziness, and LLMs being able to parse things loosely.


    Side thoughts...

    Philosophically, I don't know that capturing raw data alone as files is really sufficient to capture the nuances of any particular experience, or the overall zeitgeist of an era. You can archive Geocities pages, but that doesn't really capture the novelty and indie-ness of that era. Similarly, you can save TikTok videos, but absent the cultural environment that created them (and a faithful recreation of the recommendation algorithm), they wouldn't really show future archaeologists how teenagers today lived.

    I worked for a natural history museum for a while, and while we were there, one of the interesting questions (well, to me anyway) was whether our web content was in and of itself worth preserving as a cultural artifact -- both so that future generations can see what exhibits were interesting/apropos for the cultures of our times, but also so they could see how our generation found out about those exhibitions to begin with (who knows what the Web will morph into 50 years later). It wasn't enough to simply save the HTML of our web pages, both because they tie into various other APIs and databases (like zoological collections) and because some were interactive experiences, like games designed to be played with a mouse (before phones were popular), or phone chatbots with some of our specimens. To really capture the experience authentically would've required emulating not just our tech stacks and devices, among other things.

    Like for the earlier Geocities example, sure you could just save the old HTML and render it with a modern browser, but that's not the same as something like , which emulates the whole OS and browser too. And that still isn't the same as having to sit in front of a tiny CRT and wait minutes for everything to download over a 14.4k modem, only to be interrupted when mom had to make a call.

    I guess that's a longwinded of critiquing "file over app": It only makes sense for things that are originally files/documents to begin with. Much of our lives now are not flat docs but "experiences" that take much more thought and effort to archive. If the goal is truly to preserve that posterity, it's not enough to just archive their raw data, but to develop ways to record and later emulate entire experiences, both technological and cultural. It ain't easy!

  • DoctrineBundle

    Symfony Bundle for Doctrine ORM and DBAL

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • DoctrineMigrationsBundle

    Symfony integration for the doctrine/migrations library

  • Doctrine Extensions

    Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable

  • php-ddd-example

    🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

  • Project mention: Hexagonal Architecture, DDD and CQRS in PHP | | 2023-10-28
  • Doctrine2 Behaviors

    Doctrine2 behavior traits that help handling Blameable, Loggable, Sluggable, SoftDeletable, Uuidable, Timestampable, Translatable, Tree behavior

  • foundry

    A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine. (by zenstruck)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Flextype

    Modern Open Source Flat Files Content Management System.

  • doctrine-json-odm

    An object document mapper for Doctrine ORM using JSON types of modern RDBMS.

  • Project mention: Tutorial: Combine SQL and NoSQL for hybrid databases (Symfony + Doctrine) | /r/PHP | 2023-06-19

    What could be interesting in this topic is the following package: Which allows to map JSON field in a typed object and back.

  • Bolt 5 Core

    🧿 Bolt 5 core (by bolt)

  • Project mention: Bolt VS core - a user suggested alternative | | 2024-04-13

    This is the next generation of Bolt.

  • DoctrineJsonFunctions

    Doctrine DQL functions for SQL JSON data type

  • DoctrineEnumBundle

    📦 Provides support of ENUM type for Doctrine in Symfony applications.

  • schema-generator

    PHP Model Scaffolding from and other RDF vocabularies

  • auditor-bundle

    The missing audit log library

  • ip

    Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support. (by darsyn)

  • DoctrineEncryptBundle

    :key: Encrypted symfony entities by verified and standardized libraries

  • graphql-doctrine

    Automatic GraphQL types from Doctrine entities

  • db

    Fast and Lightweight PHP 8.1+ DataMapper and Table Gateway with automatic data caching, smart entities, migrations and many more (by compositephp)

  • doctrine-read-only-hydrator

    Add SimpleObject and ReadOnly hydrators do Doctrine.

  • doctrine-filter

    Quickly add advanced filtering and sorting capabilities to resources in APIs or Web apps that use Doctrine.

  • wordpress-interop

    Interoperability library to work with WordPress database in third party apps

  • symfony-rest-sample

    Symfony REST Example

  • doctrine-laminas-hydrator

    Doctrine hydrators for Laminas applications

  • Project mention: Data-Mapper: A package for fast mapping of strong-typed objects | /r/PHP | 2023-06-20
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Doctrine related posts

  • similar bundle / approach to laravel-activitylog

    4 projects | /r/symfony | 10 May 2023
  • Symfony : looking for good/best practice about the rollback of values of an entity modified by an user

    2 projects | /r/symfony | 7 Feb 2023
  • Looking for a simple employee attendance system

    1 project | /r/selfhosted | 15 Dec 2022
  • Harvest Time Tracking Alternative

    2 projects | /r/selfhosted | 7 Dec 2022
  • doctrine-filter v1.0.0: Add filtering/ordering capabilities to your APIs or Web apps

    1 project | /r/PHP | 3 Dec 2022
  • Organising Work "Construction company"

    1 project | /r/selfhosted | 28 Nov 2022
  • Any good and simple time tracking apps like clockify for teams?

    1 project | /r/selfhosted | 23 Nov 2022
  • A note from our sponsor - InfluxDB | 24 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →


What are some of the best open-source Doctrine projects in PHP? This list will help you:

Project Stars
1 Grav 14,320
2 DoctrineBundle 4,664
3 DoctrineMigrationsBundle 4,162
4 Doctrine Extensions 3,994
5 php-ddd-example 2,913
6 Doctrine2 Behaviors 913
7 foundry 577
8 Flextype 569
9 doctrine-json-odm 562
10 Bolt 5 Core 531
11 DoctrineJsonFunctions 518
12 DoctrineEnumBundle 457
13 schema-generator 452
14 auditor-bundle 375
15 ip 245
16 DoctrineEncryptBundle 139
17 graphql-doctrine 98
18 db 75
19 doctrine-read-only-hydrator 57
20 doctrine-filter 56
21 wordpress-interop 51
22 symfony-rest-sample 47
23 doctrine-laminas-hydrator 32

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives