PHPackages                             edmondscommerce/dsm-symfony - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. edmondscommerce/dsm-symfony

ActiveLibrary[Database &amp; ORM](/categories/database)

edmondscommerce/dsm-symfony
===========================

A symfony bundle for Doctrine Static Meta (edmondscommerce/doctrine-static-meta) and Symfony

6.0.1(6y ago)06751[2 issues](https://github.com/edmondscommerce/dsm-symfony/issues)[1 PRs](https://github.com/edmondscommerce/dsm-symfony/pulls)PHP

Since May 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/edmondscommerce/dsm-symfony)[ Packagist](https://packagist.org/packages/edmondscommerce/dsm-symfony)[ RSS](/packages/edmondscommerce-dsm-symfony/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (3)Versions (12)Used By (0)

dsm-symfony
===========

[](#dsm-symfony)

By [Edmonds Commerce](https://www.edmondscommerce.co.uk)
--------------------------------------------------------

[](#by-edmonds-commerce)

A symfony bundle that facilitates using [Doctrine Static Meta](https://github.com/edmondscommerce/doctrine-static-meta)

*THIS IS NOT PRODUCTION READY*
------------------------------

[](#this-is-not-production-ready)

### Install

[](#install)

First you need to add the following to your `composer.json`:

```
{
    "require": {
        "edmondscommerce/dsm-symfony": "dev-master"
    },
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/edmondscommerce/dsm-symfony"
        }
    ]
}
```

Then you need to register the bundle by adding the following to `config/bundles.php`:

```
return [
    EdmondsCommerce\DsmApiPlatformBundle\DsmApiPlatformBundle::class => ['all' => true]
];
```

You should now see the DSM commands when you run `./bin/console`:

```
./bin/console
# ...
 dsm
  dsm:generate:entity                     Generate an Entity
  dsm:generate:field                      Generate a field
  dsm:generate:relations                  Generate relations traits for your entities. Optionally filter down the list of entities to generate relationship traits for
  dsm:set:field                           Set an Entity as having a Field
  dsm:set:relation
# ...
```

### Regenerating Entities in Existing Project

[](#regenerating-entities-in-existing-project)

In order to avoid autowiring issues it is advised that you comment out any services in `config/services.yaml`that reference your project code. For example:

```
#    # makes classes in src/ available to be used as services
#    # this creates a service per class whose id is the fully-qualified class name
#    App\:
#        resource: '../src/*'
#        exclude: '../src/{Entities,Entity,Migrations,Tests,Kernel.php}'
```

This should only be needed when regenerating entities that are referenced elsewhere in the code. Once the generation is complete then these lines should be uncommented again. See [Issue 3](https://github.com/edmondscommerce/dsm-api-platform/issues/3) for more details

### Configuration

[](#configuration)

This will add the Symfony doctrine configuration to DSM. This is handled in the [Container](./DsmBundle/DependencyInjection/Container.php) file where we remove the DMS Entity Manager Factory and replace it with our [own](./DsmBundle/Doctrine/Common/EntityManagerFactory.php)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~94 days

Total

8

Last Release

2488d ago

Major Versions

v0.1.5 → 6.0.02019-04-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/7af407ceeb8622c9c164d386ef3e95cda4c94d141240348ac5703223bb499d0e?d=identicon)[edmondscommerce](/maintainers/edmondscommerce)

---

Top Contributors

[![edmondscommerce](https://avatars.githubusercontent.com/u/62842?v=4)](https://github.com/edmondscommerce "edmondscommerce (12 commits)")[![rossmitchell](https://avatars.githubusercontent.com/u/7073145?v=4)](https://github.com/rossmitchell "rossmitchell (3 commits)")

### Embed Badge

![Health badge](/badges/edmondscommerce-dsm-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/edmondscommerce-dsm-symfony/health.svg)](https://phpackages.com/packages/edmondscommerce-dsm-symfony)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
