Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Doctrine 2 Presentation demo files
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
doctrine @ 1fb2137
lib/Demo/Entity
.gitmodules
README.md

README.md

Doctrine 2

An introduction to Doctrine 2.1 for PHP developers.

Stages

Each branch represents a stage in the demonstration. Check out each in turn (starting with master) and follow any specific instructions below.

master

Contains business models and directory skeleton. Fetch the Doctrine submodule dependencies by running the following from the command line

git submodule update --init
cd doctrine
git submodule update --init

1-mapping

Annotation mapping added to models

2-configuration

Bootstrap, CLI config and binaries added. Run the following from the command line to generate the DB schema

bin/doctrine orm:schema-tool:create

3-application

Adds application files.

Run the inserts.php file to insert some initial data.

Run get-purchase-orders.php to retrieve and show the saved data.

Something went wrong with that request. Please try again.