Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

bupy7/zf-app-blank

Repository files navigation

zf-app-blank

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.