Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 2.7 KB

README.md

File metadata and controls

47 lines (35 loc) · 2.7 KB

ZF2 Skeleton

Extended ZF2 skeleton. Simplifying build application based on ZF2 MVC.

Just clone, install dependencies, remove module Users and work.

  • In Box - module Users - for demonstration features other modules.
  • In Box - Codeception acceptance tests.

Difference from ZF2 skeleton

  • remove dependency from zendframework/zendframework:~2.5 - have minimal dependency for running
  • have pre-installed modules, for any project: Migrations, Admin backend, Domain, Zend-MVC-Controller

Installation

  1. Download skeleton wget https://github.com/t4web/zf2-skeleton/archive/master.zip
  2. Extract to work directory
  3. Install dependencies composer install
  4. Create database skeleton and database skeleton_test
  5. Create database user skeleton with password 111 and grant all privileges to database sekeleton and skeleton_test
  6. Restore database from dump in folder tests/_data/skeleton_test.mysql.sql \ tests/_data/skeleton_test.pgsql.sql
  7. Start internal PHP cli-server in root directory php -S 0.0.0.0:8080 -t public/ public/index.php

Done, go to http://localhost:8080

For see full AdminLTE theme

  1. download AdminLTE v2.0.5
  2. unzip to public/theme/
  3. You can see it in http://localhost:8080/theme/AdminLTE-2.0.5/index.html

Contents