2017 © Pedro PelĂĄez
 

library zf2sample

ZF2 Sample

image

caferrari/zf2sample

ZF2 Sample

  • Wednesday, December 5, 2012
  • by caferrari
  • Repository
  • 3 Watchers
  • 3 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

caferrari Skeleton Application

Introduction

This is a simple, skeleton application using the ZF2 MVC layer and module systems. This application is meant to be used as a starting place for those looking to get their feet wet with ZF2., (*1)

Installation

The recommended way to get a working copy of this project is to clone the repository and use composer to install dependencies using the create-project command:, (*2)

curl -s https://getcomposer.org/installer | php --
php composer.phar create-project caferrari/zf2sample project_name

Alternately, clone the repository and manually invoke composer using the shipped composer.phar:, (*3)

cd my/project/dir
git clone git://github.com/caferrari/zf2sample.git ZendSkeletonApplication
cd ZendSkeletonApplication
php composer.phar self-update
php composer.phar install

(The self-update directive is to ensure you have an up-to-date composer.phar available.), (*4)

Database

It user the Postgres database., (*5)

In order to use this application you must create a pgsql database and restore the database.sql file into it., (*6)

Then you need to rename the file config/autoload/doctrine_orm.local.php.dist to config/autoload/doctrine_orm.local.php and change the parameters to connect to your database, (*7)

Virtual Host

Afterwards, set up a virtual host to point to the public/ directory of the project and you should be ready to go!, (*8)

The Versions