PHPackages                             fightmaster/dao - 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. fightmaster/dao

ActiveLibrary[Database &amp; ORM](/categories/database)

fightmaster/dao
===============

Simple implementation of Data Access Object pattern for Symfony 2 projects.

1.0.2(13y ago)31443MITPHPPHP &gt;=5.3.2

Since Jul 8Pushed 13y ago1 watchersCompare

[ Source](https://github.com/fightmaster/dao)[ Packagist](https://packagist.org/packages/fightmaster/dao)[ Docs](https://github.com/fightmaster/dao)[ RSS](/packages/fightmaster-dao/feed)WikiDiscussions master Synced 1mo ago

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

Simple implementation of Data Access Object pattern for symfony 2 projects.

- Has unit tests: yes
- Vendors: doctrine-common

Advantages
----------

[](#advantages)

- allows you to quickly switch between the ORM and ODM doctrine managers
- promote clean and tested code. all of the business application logic should be in the services

[![Build Status](https://camo.githubusercontent.com/7b74b742ffd8eccf96c01ce92c2dae93d820b608700136159a59819d80c05e22/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f66696768746d61737465722f64616f2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/fightmaster/dao)

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

[](#installation)

If you use a deps file, you could add:

 ```
 [dao]
     git=https://github.com/fightmaster/dao.git

```

Or if you want to clone the repos:

 ```
 git clone https://github.com/fightmaster/dao.git vendor/dao

```

If you use Composer, you could add:

```
{"require": {"fightmaster/dao": "1.x"}}

```

Add the namespace to your autoloader

```
