Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (25 sloc) 830 Bytes

Go Pro with Doctrine Queries

Well hi there! This repository holds the code and script for the KnpUniversity lesson called:

Go Pro with Doctrine Queries

Project Setup:

  1. Configure parameters.yml:

Copy app/config/parameters.yml.dist to app/config/parameters.yml and configure any of the database_ options.

  1. Download Composer

  2. Install the vendor libraries

php composer.phar install
  1. Create your database and load some fixtures!
php app/console doctrine:database:create
php app/console doctrine:schema:update --force
php app/console doctrine:fixtures:load
  1. Start the web server:
php app/console server:run
  1. Go to http://localhost:8000 and query for your fortune!
You can’t perform that action at this time.