PHPackages                             bobthecow/population - 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. bobthecow/population

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

bobthecow/population
====================

A simpler way to populate your Doctrine 2 databases

381192PHP

Since Dec 8Pushed 13y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Population
==========

[](#population)

A simpler way to populate your Doctrine 2 databases.

Inspired by [Populator](https://github.com/ryanb/populator) for ActiveRecord.

Usage
-----

[](#usage)

You really should use this library with [Faker](https://github.com/bobthecow/Faker). You'll see why in a second.

The easiest way to use Population is to extend `\Population\DataFixture`. It's a valid base class for both ORM and ODM data fixtures:

```
