dev-master
9999999-dev http://caferrari.eti.br/ZF2 Sample
BSD-3-Clause
The Requires
- php >=5.3.3
- zendframework/zendframework 2.*
- doctrine/doctrine-orm-module dev-master
- caferrari/zf2-simple-crud-module dev-master
framework zf2
ZF2 Sample
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)
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)
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)
Afterwards, set up a virtual host to point to the public/ directory of the project and you should be ready to go!, (*8)
ZF2 Sample
BSD-3-Clause
framework zf2