PHPackages                             cekurte/eloquentbundle - 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. cekurte/eloquentbundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

cekurte/eloquentbundle
======================

A bundle to integrate the Eloquent library on Symfony 2

v1.0.1(10y ago)2141MITPHPPHP &gt;=5.4

Since May 12Pushed 10y agoCompare

[ Source](https://github.com/jpcercal/eloquent-bundle)[ Packagist](https://packagist.org/packages/cekurte/eloquentbundle)[ Docs](https://github.com/jpcercal/cekurteeloquentbundle)[ RSS](/packages/cekurte-eloquentbundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (4)Used By (0)

Cekurte\\EloquentBundle
=======================

[](#cekurteeloquentbundle)

[![Build Status](https://camo.githubusercontent.com/7b30a2e91eb11c11bc01b3280a448045dee90b124028dba56a77fc8b2ceb6ea7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a7063657263616c2f656c6f7175656e742d62756e646c652f6d61737465722e7376673f7374796c653d737175617265)](http://travis-ci.org/jpcercal/eloquent-bundle)[![Code Climate](https://camo.githubusercontent.com/9e99c757305ae2b8411d66cc4daed65b308a5cac3fd9c6a410a2ab2d9e990d99/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a7063657263616c2f656c6f7175656e742d62756e646c652f6261646765732f6770612e737667)](https://codeclimate.com/github/jpcercal/eloquent-bundle)[![Coverage Status](https://camo.githubusercontent.com/65db4c9141672fe5c8f863d38b7928bbf7e0fc253e6f9f79027b2bfd07697ae1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a7063657263616c2f656c6f7175656e742d62756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/jpcercal/eloquent-bundle?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/2ddd738aab08715eb2cbe5fabe2b9ac223179d877df9f5c5888c9a2e1a550104/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63656b757274652f656c6f7175656e7462756e646c652e7376673f7374796c653d737175617265)](https://packagist.org/packages/cekurte/eloquentbundle)[![License](https://camo.githubusercontent.com/08d42d8ec324a5882a84a44405ef91e3d894500d587a416342c6d9bdd45892ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63656b757274652f656c6f7175656e7462756e646c652e7376673f7374796c653d737175617265)](https://packagist.org/packages/cekurte/eloquentbundle)[![SensioLabsInsight](https://camo.githubusercontent.com/4a88b4d1f5837131df6054af5484733f7d623c883ef41ecae5bf641700f7c4e7/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32366534323932332d396165362d343537322d393130662d3138353636616363613265312f6d696e692e706e67)](https://insight.sensiolabs.com/projects/26e42923-9ae6-4572-910f-18566acca2e1)

- A simple bridge to use the Eloquent ORM with Symfony 2 (with all methods covered by php unit tests), **contribute with this project**!

**If you liked of this library, give me a *star =)*.**

Installation
------------

[](#installation)

- The package is available on [Packagist](http://packagist.org/packages/cekurte/eloquentbundle).
- The source files is [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) compatible.
- Autoloading is [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) compatible.

```
composer require cekurte/eloquentbundle
```

After, register the bundle in your AppKernel like this:

```
// app/AppKernel.php

// ...
public function registerBundles()
{
    $bundles = array(
        // ...
        new Cekurte\EloquentBundle\CekurteEloquentBundle(),
        // ...
    );

    // ...
    return $bundles;
}
```

Configuration
-------------

[](#configuration)

All reference to configure this bundle is bellow, add this in your config file.

```
# app/config/config.yml

# ...
cekurte_eloquent:
    connection:
        driver:     "mysql"           # Default is mysql. Available too: postgres, sqlserver and sqlite.
        host:       "127.0.0.1"       # Required
        database:   "dbname"          # Required
        username:   "user"            # Required
        password:   "pass"            # Optional, default is ""
        charset:    "utf8"            # Optional, default is "utf8"
        collation:  "utf8_unicode_ci" # Optional, default is "utf8_unicode_ci"
        prefix:     ""                # Optional, default is ""
```

How to use
----------

[](#how-to-use)

See the [documentation of the Eloquent ORM](http://laravel.com/docs/5.0/eloquent).

Contributing
------------

[](#contributing)

1. Give me a star **=)**
2. Fork it
3. Create your feature branch (`git checkout -b my-new-feature`)
4. Make your changes
5. Run the tests, adding new ones for your own code if necessary (`vendor/bin/phpunit`)
6. Commit your changes (`git commit -am 'Added some feature'`)
7. Push to the branch (`git push origin my-new-feature`)
8. Create new Pull Request

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~357 days

Total

2

Last Release

3667d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24144f054fdc5938c707bdc103ac458dcb3b2b0891bb891a5d8f4840128bd632?d=identicon)[jpcercal](/maintainers/jpcercal)

---

Top Contributors

[![jpcercal](https://avatars.githubusercontent.com/u/366345?v=4)](https://github.com/jpcercal "jpcercal (18 commits)")

---

Tags

databaseeloquent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cekurte-eloquentbundle/health.svg)

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[mvanduijker/laravel-transactional-model-events

Add eloquent model events fired after a transaction is committed or rolled back

75164.5k](/packages/mvanduijker-laravel-transactional-model-events)[guidocella/eloquent-populator

Guess attributes for Eloquent model factories

7661.6k2](/packages/guidocella-eloquent-populator)[gearbox-solutions/eloquent-filemaker

A package for getting FileMaker records as Eloquent models in Laravel

6454.8k2](/packages/gearbox-solutions-eloquent-filemaker)

PHPackages © 2026

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