Autoloading standart PSR-4. Coding standart PSR-2.
- Refactoring code to PHP 7.1.
- Add PHP tests.
- 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
-
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.
Run tests:
$ vagrant ssh -c 'composer test:build'
$ vagrant ssh -c 'composer test:run'
zf-app-blank is released under the BSD 3-Clause License.