Hello world application using Zend framework 2.0 integrated with Doctrine 2.3
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
data
module
public
vendor
.gitignore
.gitmodules
README.md
init_autoloader.php

README.md

Zend 2.0 integrated with Doctrine 2.3

Introduction

This is a simple "Hello world" application using Zend framework 2.0 integrated with ORM Doctrine 2.3. There are implemented 4 basic operations (CRUD) about one entity User.

Requirements

Installation

1. Downloading source codes with GIT (recommended)

Clone repository to your local machine:

git clone --recursive https://github.com/tomaskocfelda/Zend2-Doctrine2.git

This will download the core project with all libraries needed.

1. ... or downloading source codes with SVN

Checkout project https://github.com/tomaskocfelda/Zend2-Doctrine2.git to your local machine. Then checkout separately libs to precreated dirs in /vendors:

2. Creating database

Run SQL create script /data/db/create-script.sql

3. Setting virtual host

Set up a virtual host to point to the public/ directory. Vhost record could look like this:

<VirtualHost 127.0.0.1>
    ServerName zf-doctrine.localhost
    DocumentRoot "C:\PATH_TO_APPLICATION\public"
    SetEnv APPLICATION_ENV "development"
    <Directory "C:\PATH_TO_APPLICATION\public">
        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

4. Running application

Now application is ready to go.