ebidtech/doctrine-repository

An alternative doctrine entity base repository. Fork from eso/doctrine-repository.

v0.2 2014-01-10 13:49 UTC

This package is not auto-updated.

Last update: 2024-12-21 16:31:06 UTC


README

Latest Stable Version Build Status Coverage Status Scrutinizer Quality Score

An alternative doctrine entity base repository

Requirements

  • PHP >= 5.4
  • Doctrine ORM >= 2.2.3

Installation

The recommended way to install is through composer.

Just create a composer.json file for your project:

{
    "require": {
        "eso/doctrine-repository": "@stable"
    }
}

Tip: browse eso/doctrine-repository page to choose a stable version to use, avoid the @stable meta constraint.

And run these two commands to install it:

$ curl -sS https://getcomposer.org/installer | php
$ composer install

Now you can add the autoloader, and you will have access to the library:

<?php

require 'vendor/autoload.php';

Usage

Contributing

All contributors

See CONTRIBUTING file.

License

Doctrine Repository library is released under the MIT License. See the bundled LICENSE file for details.