PHPackages                             somnambulist/laravel-doctrine-project - 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. somnambulist/laravel-doctrine-project

ActiveProject[Framework](/categories/framework)

somnambulist/laravel-doctrine-project
=====================================

Laravel 5.3 with Doctrine, Twig and other Goodies

3.1.2(8y ago)442MITPHPPHP &gt;=7

Since Aug 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/somnambulist-tech/laravel-doctrine-project)[ Packagist](https://packagist.org/packages/somnambulist/laravel-doctrine-project)[ RSS](/packages/somnambulist-laravel-doctrine-project/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (23)Versions (14)Used By (0)

Doctrine Laravel Project
========================

[](#doctrine-laravel-project)

A kick-starter project that pre-configures Doctrine, Twig, behaviours and some other stuff because bootstrapping projects with the same requirements is tedious.

Use this to kick-start a Doctrine based Laravel app.

- 1.X Laravel 5.2.\* based project
- 2.X Laravel 5.3.\* based project
- 3.X Laravel 5.4.\* based project

Included are the following:

- Barryvdh Debugbar
- Barryvdh IdeHelper
- Beberlei Assert
- Doctrine
- Doctrine Behaviours
- Doctrine Domain Events
- Doctrine Entity Audit
- Doctrine Entity Validation
- Eloquent Enumerations
- Environment Loader
- HTML Builder
- Homestead
- Twig
- Twig Extensions

Entities
--------

[](#entities)

The default namespace is "App".

The following entities and matching repositories are provided, together with YAML mapping files, pre-configured:

- Address
- Country
- Organization
- Permission
- Role
- User

Each repository has an interface that is pre-mapped to the interface in the repository config.

### Domain Events

[](#domain-events)

The User and Organization entities support Domain Events:

- User Events
    - UserCreated
    - UserLoggedIn
    - AddressAddedToEntity
    - AddressRemovedFromEntity
    - AuthenticationCredentialsChanged
    - GrantedOrganizationToUser
    - GrantedPermissionToUser
    - GrantedRoleToUser
    - RevokedOrganizationFromUser
    - RevokedPermissionFromUser
    - RevokedRoleFromUser
- Organization Events
    - OrganizationCreated
    - AddressAddedToEntity
    - AddressRemovedFromEntity

Getting Started
---------------

[](#getting-started)

- `composer create-project somnambulist/laravel-doctrine-project my-project`
- setup your database settings / configure the other options
- `./artisan doctrine:schema:validate`
- `./artisan doctrine:schema:create`
- `./artisan db:seed`
- `./artisan serve`
- to use Vagrant, update the Homestead.yaml with the project location
- `vagrant up`
- then use the artisan commands as above

The standard Laravel welcome app + authentication have been setup and converted to Twig.

Additional Helper Scripts
-------------------------

[](#additional-helper-scripts)

- `cache_build.sh` - creates caches for routes, container etc.
- `cache_clean.sh` - clears all caches including Doctrine query caches
- `vagrant_db_reset.sh` - drops and rebuilds the database (for development only)
- `vagrant_refresh.sh` - fully refreshes all applications files including composer update and npm install

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity70

Established project with proven stability

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 ~31 days

Recently: every ~49 days

Total

13

Last Release

3235d ago

Major Versions

1.0.3 → 2.0.02016-11-13

2.0.3 → 3.0.02017-02-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0e439bf91b68c2e81e0250c752d3a552e78752c91acdf00c72a1f93aeb1ceca?d=identicon)[dredfern](/maintainers/dredfern)

---

Tags

laravellaravel-doctrinelaravel-twigprojecttwigframeworklaraveltwigdoctrine

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/somnambulist-laravel-doctrine-project/health.svg)

```
[![Health](https://phpackages.com/badges/somnambulist-laravel-doctrine-project/health.svg)](https://phpackages.com/packages/somnambulist-laravel-doctrine-project)
```

###  Alternatives

[laravel/laravel

The skeleton application for the Laravel framework.

84.5k63.2M1.0k](/packages/laravel-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k169.0k9](/packages/bagisto-bagisto)[microweber/microweber

New generation CMS with drag and drop

3.4k13.9k1](/packages/microweber-microweber)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3911.7k](/packages/codewithdennis-larament)

PHPackages © 2026

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