bupy7 / zf-app-blank
A blank application Zend Framework 3.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 48
Watchers: 6
Forks: 6
Open Issues: 2
Type:project
Requires
- php: ^7.1
- bupy7/zf-form: ~1.2.0
- bupy7/zf-mailgun: ~1.0.0
- bupy7/zf-time-zone: ~1.0
- cebe/markdown: ~1.1.1
- doctrine/doctrine-orm-module: ~1.1.0
- doctrine/migrations: ~1.6
- kokspflanze/zfc-twig: ~2.1
- symfony/console: ~3.3
- widmogrod/zf2-assetic-module: ~2.4
- zendframework/zend-authentication: ~2.5.3
- zendframework/zend-crypt: ~3.2.0
- zendframework/zend-json: ~3.0.0
- zendframework/zend-log: ~2.9
- zendframework/zend-mvc: ~3.1.0
- zendframework/zend-mvc-i18n: ~1.0.0
- zendframework/zend-mvc-plugin-fileprg: ~1.0.0
- zendframework/zend-mvc-plugin-flashmessenger: ~1.0.0
- zendframework/zend-mvc-plugin-identity: ~1.0.0
- zendframework/zend-mvc-plugin-prg: ~1.0.0
- zendframework/zend-navigation: ~2.8.2
- zendframework/zend-validator: ~2.9.1
- zf-commons/zfc-rbac: ~2.6.3
Requires (Dev)
- bupy7/zf-php-debug-bar: ~0.13
- codeception/codeception: ~2.3
- doctrine/data-fixtures: ~1.3
- friendsofphp/php-cs-fixer: ~2.6
- php-coveralls/php-coveralls: ~2.0
README
Autoloading standart PSR-4. Coding standart PSR-2.
TODO
- Refactoring code to PHP 7.1.
- Add PHP tests.
Features
- PHP 7.1
- Zend Framework 3
- Twitter Bootstrap 4
- Doctrine ORM 2
- Debug Bar
- Twig
- Assetic Management
- RBAC
- Flexible Form Builder
- Support Vagrant
- Support Composer
- Support Yarn
- Database is PostgreSQL
- Database is MySQL
- YUI Comressor
- UglifyJS2
- PHP Coding Standarts Fixer
- XDebug
- Mailgun
- Multilanguage (English and Russian).
- Simple example application:
- Sign in
- Sign up
- Log out
- Confirm Email address
- Recovery password
- Symfony CLI
- Codeception
- Sass
Installation
-
Download and unpack the repository.
-
Install plugins for Vagrant:
$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-hostmanager
- Run install the work environment:
$ vagrant up
-
Paste GitHub token in
/workenv/config/vagrant-local.yml
-
Run again:
$ vagrant up
- Configure Mailgun in
/config/autoload/local.php
:
You should create Mailgun account if you didn't do it before. Also, create Postbin.
'mailgun' => [ 'key' => 'key-somekey', 'endpoint' => 'http://bin.mailgun.net/somekey', ], 'mail' => [ 'domain' => 'somesudomain.mailgun.org', ],
- Create scheme:
$ vagrant ssh -c 'php bin/console orm:schema-tool:create'
- Done.
Testing
Run tests:
$ vagrant ssh -c 'composer test:build'
$ vagrant ssh -c 'composer test:run'
License
zf-app-blank is released under the BSD 3-Clause License.