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
- Download skeleton
wget https://github.com/t4web/zf2-skeleton/archive/master.zip
- Extract to work directory
- Install dependencies
composer install
- Create database
skeleton
and databaseskeleton_test
- Create database user
skeleton
with password111
and grant all privileges to databasesekeleton
andskeleton_test
- Restore database from dump in folder
tests/_data/skeleton_test.mysql.sql
\tests/_data/skeleton_test.pgsql.sql
- 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
- download AdminLTE v2.0.5
- unzip to public/theme/
- You can see it in
http://localhost:8080/theme/AdminLTE-2.0.5/index.html
- Tests (Codeception)
- Migrations (Module T4web\Migrations)
- Domain (Module T4web\DomainModule)
- Zend-MVC-Controller (Module Sebaks\ZendMvcController)
- Admin Backend (Module T4web\Admin)
- Main menu
- Build simply CRUD Entity (For example we will create CRUD for entity
show
- simple catalog for TV Shows managing)