PHPackages                             regniblod/symfony-ddd-edition - 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. [Framework](/categories/framework)
4. /
5. regniblod/symfony-ddd-edition

AbandonedArchivedProject[Framework](/categories/framework)

regniblod/symfony-ddd-edition
=============================

A Symfony standard skeleton following DDD architecture.

79507PHP

Since Nov 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/regniblod/symfony-ddd-edition)[ Packagist](https://packagist.org/packages/regniblod/symfony-ddd-edition)[ RSS](/packages/regniblod-symfony-ddd-edition/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

ABANDONED - This repo won't be updated anymore
==============================================

[](#abandoned---this-repo-wont-be-updated-anymore)

Symfony Standard DDD Edition
============================

[](#symfony-standard-ddd-edition)

Welcome to the Symfony Standard DDD Edition - a fully-functional Symfony application with DDD architecture that you can use as the skeleton for your new applications.

For details on how to download and get started with Symfony, see the Installation chapter of the Symfony Documentation.

Installing the Symfony Standard DDD Edition
-------------------------------------------

[](#installing-the-symfony-standard-ddd-edition)

When it comes to installing the Symfony Standard DDD Edition, you have the following options.

### Use Composer (*recommended*)

[](#use-composer-recommended)

As Symfony uses [Composer](http://getcomposer.org/) to manage its dependencies, the recommended wayto create a new project is to use it.

If you don't have Composer yet, download it following the instructions on  or just run the following command:

```
curl -s http://getcomposer.org/installer | php

```

Then, use the `create-project` command to generate a new Symfony application:

```
php composer.phar create-project regniblod/symfony-ddd-edition --stability=dev path/to/install

```

Composer will install Symfony and all its dependencies under the `path/to/install` directory.

### Download an Archive File

[](#download-an-archive-file)

To quickly test Symfony, you can also download an [archive](https://github.com/regniblod/symfony-ddd-edition/archive/master.zip) of the Standard DDD Edition and unpack it somewhere under your web server root directory.

If you downloaded an archive "without vendors", you also need to install all the necessary dependencies. Download composer (see above) and run the following command:

```
php composer.phar install

```

Checking your System Configuration
----------------------------------

[](#checking-your-system-configuration)

Before starting coding, make sure that your local system is properly configured for Symfony.

Execute the `check.php` script from the command line:

```
php bin/symfony_requirements

```

Access the `config.php` script from a browser:

```
http://localhost/path/to/symfony/config.php

```

If you get any warnings or recommendations, fix them before moving on.

Getting started with Symfony
----------------------------

[](#getting-started-with-symfony)

This distribution is meant to be the starting point for your Symfony applications.

A great way to start learning Symfony is via the [Quick Tour](http://symfony.com/doc/2.7/quick_tour/the_big_picture.html), which will take you through all the basic features of Symfony2.

Once you're feeling good, you can move onto reading the official [Symfony2 book](http://symfony.com/doc/2.7/index.html).

A default bundle, `ModuleBundle`, shows you Symfony DDD architecture in action. After playing with it, you can remove it by following these steps:

- remove the routing entries referencing ModuleBundle in `app/config/routing.yml`.
- remove the ModuleBundle from the registered bundles in `app/AppKernel.php`.
- remove `src/Project/Module` and `tests/Project/Module` directories.
- Remove all the `.gitkeep` files: `find . -name .git -prune -o -type d -empty -exec touch {}/.gitkeep \;`

How to add a new module
-----------------------

[](#how-to-add-a-new-module)

Use the command `symfony-ddd:generator:create-module ` to create a new module with the complete src and tests directory structure, bundle, services and repositories files, routing and Doctrine mapping.

What's inside?
--------------

[](#whats-inside)

The Symfony Standard DDD Edition is configured with the following defaults:

- A ModuleBundle you can use to start coding.
- Twig as the only configured template engine.
- Doctrine ORM/DBAL.
- Swiftmailer.
- Annotations enabled for everything.

It comes pre-configured with the following bundles:

- **FrameworkBundle** - The core Symfony framework bundle
- [**SensioFrameworkExtraBundle**](https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html) - Adds several enhancements, including template and routing annotation capability
- [**DoctrineBundle**](https://symfony.com/doc/3.0/book/doctrine.html) - Adds support for the Doctrine ORM
- [**TwigBundle**](https://symfony.com/doc/3.0/book/templating.html) - Adds support for the Twig templating engine
- [**SecurityBundle**](https://symfony.com/doc/3.0/book/security.html) - Adds security by integrating Symfony's security component
- [**SwiftmailerBundle**](https://symfony.com/doc/3.0/cookbook/email.html) - Adds support for Swiftmailer, a library for sending emails
- [**MonologBundle**](https://symfony.com/doc/3.0/cookbook/logging/monolog.html) - Adds support for Monolog, a logging library
- **WebProfilerBundle** (in dev/test env) - Adds profiling functionality and the web debug toolbar
- **SensioDistributionBundle** (in dev/test env) - Adds functionality for configuring and working with Symfony distributions
- [**SensioGeneratorBundle**](https://symfony.com/doc/3.0/bundles/SensioGeneratorBundle/index.html) (in dev/test env) - Adds code generation capabilities
- **DebugBundle** (in dev/test env) - Adds Debug and VarDumper component integration
- [**SymfonyDDDGeneratorBundle**](https://symfony.com/doc/3.0/bundles/SensioGeneratorBundle/index.html) (in dev/test env) - Adds code generation capabilities specifically for this Symfony distribution.

All libraries and bundles included in the Symfony Standard Edition are released under the MIT or BSD license.

Architecture
------------

[](#architecture)

TODO: Explain different layers.

Folder structure
----------------

[](#folder-structure)

```
src
└── Project
    └── Module
        ├── Application
        │   └── ModuleBundle
        │       ├── Command
        │       ├── Controller
        │       ├── DependencyInjection
        │       │   └── Compiler
        │       └── Resources
        │           ├── config
        │           │   └── doctrine
        │           └── views
        │               └── default
        ├── Domain
        │   ├── Component
        │   ├── Event
        │   ├── Exception
        │   ├── Model
        │   ├── Repository
        │   ├── Service
        │   └── Value
        └── Infrastructure
            ├── Migrations
            │   └── Doctrine
            ├── Repository
            │   └── Doctrine
            └── Service

```

Inspiration
-----------

[](#inspiration)

- [@moein](https://github.com/moein) and our work at trivago.
-

Other implementations:
----------------------

[](#other-implementations)

-
-
-
-
-
-
-
-
-
-

ToDo
----

[](#todo)

- Explain architecture.
- Create sample app.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3084323?v=4)[Albert Montañez](/maintainers/regniblod)[@regniblod](https://github.com/regniblod)

---

Top Contributors

[![regniblod](https://avatars.githubusercontent.com/u/3084323?v=4)](https://github.com/regniblod "regniblod (22 commits)")

---

Tags

dddddd-architecturesymfonysymfony-application

### Embed Badge

![Health badge](/badges/regniblod-symfony-ddd-edition/health.svg)

```
[![Health](https://phpackages.com/badges/regniblod-symfony-ddd-edition/health.svg)](https://phpackages.com/packages/regniblod-symfony-ddd-edition)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M831](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[pinguo/php-msf

Pinguo Micro Service Framework For PHP

1.7k4.2k](/packages/pinguo-php-msf)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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