bupy7/zf-app-blank

A blank application Zend Framework 3.

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 48

Watchers: 6

Forks: 6

Open Issues: 2

Type:project


README

Latest Stable Version Latest Unstable Version License Build Status Coverage Status

Autoloading standart PSR-4. Coding standart PSR-2.

zf-app-blank

TODO

  • Refactoring code to PHP 7.1.
  • Add PHP tests.

Features

Installation

  • Download and unpack the repository.

  • Install Vagrant

  • 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.