File: index.rst

package info (click to toggle)
php-doctrine-data-fixtures 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 564 kB
  • sloc: php: 3,148; makefile: 20
file content (30 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Doctrine Data Fixtures
======================

This extension provides a way to load arbitrary data into your database
from special PHP classes called "fixtures".
It can be useful for testing purposes, or for seeding a database with
initial data.

Features
--------

* support for ORM, and both ODMs (PHPCR, MongoDB);
* objects can be shared between fixtures;
* specifying the order in which fixtures are loaded;
* specifying dependencies between fixtures.

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

The most likely scenario is that you are going to need this library for
test purposes::

    $ composer require --dev doctrine/data-fixtures

Getting Help
------------

* chat with us on `Slack <https://www.doctrine-project.org/slack>`_;
* ask a question on `StackOverflow <https://stackoverflow.com/questions/tagged/doctrine>`_;
* report a bug on `GitHub <https://github.com/doctrine/data-fixtures/issues>`_.