PHPackages                             webdevbr/doctrine - 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. webdevbr/doctrine

ActiveLibrary

webdevbr/doctrine
=================

Estrutura base Doctrine

v1.0.0(11y ago)03471PHPPHP &gt;=5.5.0

Since Dec 5Pushed 11y ago1 watchersCompare

[ Source](https://github.com/erikfig/Doctrine)[ Packagist](https://packagist.org/packages/webdevbr/doctrine)[ RSS](/packages/webdevbr-doctrine/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Instalador Doctrine
===================

[](#instalador-doctrine)

Esta lib simplesmente configura o Doctrine 2.4.\* e retorna o EntityManager, very ease.

```
use WebDevBr\Doctrine\Doctrine;

$isDevMode = true;

$conn = array(
    'driver' => 'pdo_mysql',
    'user'=>'root',
    'password'=>'',
    'dbname'=>'dbname'
);

$doctrine = new Doctrine($conn, $isDevMode);
$doctrine->setEntitiesDir('./src/App/Entities')

$entityManager = $doctrine->getEntityManager();
```

Super simples né.

---

Se você precisar usar Doctrine via linhas de comando, de uma olhada nos arquivos bootstrap.php e cli-config.php.

O arquivo pode editar o bootstrap.php para remeter os dados da sua conexão e pronto, apenas incluir no seu projeto.

O arquivo cli-config.php é um pré-requisito do Doctrine para usar via linha de comando (terminal, cmd...).

É isso ai, qualquer coisa estamos por ai.

Att. Erik [WebDevBr](http://www.webdevbr.com.br)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4182d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e7eceb6ec04654ed33434783472c0922a4dd108c88ecbc66605698197abc21e?d=identicon)[erikfig](/maintainers/erikfig)

---

Top Contributors

[![erikgitcurso](https://avatars.githubusercontent.com/u/9275294?v=4)](https://github.com/erikgitcurso "erikgitcurso (3 commits)")

### Embed Badge

![Health badge](/badges/webdevbr-doctrine/health.svg)

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

###  Alternatives

[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[api-platform/doctrine-orm

Doctrine ORM bridge

243.1M39](/packages/api-platform-doctrine-orm)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[pixelfederation/doctrine-resettable-em-bundle

Symfony bundle for decorating default entity managers using a resettable decorator.

20113.5k](/packages/pixelfederation-doctrine-resettable-em-bundle)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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