Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caferrari/zf2sample
ZF2 Sample
https://github.com/caferrari/zf2sample
Last synced: about 2 months ago
JSON representation
ZF2 Sample
- Host: GitHub
- URL: https://github.com/caferrari/zf2sample
- Owner: caferrari
- License: bsd-3-clause
- Created: 2012-12-04T12:54:09.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-05T10:51:40.000Z (about 12 years ago)
- Last Synced: 2024-10-28T05:39:02.697Z (3 months ago)
- Language: PHP
- Size: 224 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
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.Installation
------------Using Composer (recommended)
----------------------------
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:curl -s https://getcomposer.org/installer | php --
php composer.phar create-project caferrari/zf2sample project_nameAlternately, clone the repository and manually invoke `composer` using the shipped
`composer.phar`: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.)Database
--------It user the Postgres database.
In order to use this application you must create a pgsql database and restore the database.sql file into it.
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
Virtual Host
------------
Afterwards, set up a virtual host to point to the public/ directory of the
project and you should be ready to go!