Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 641 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 641 Bytes

Mezzio Doctrine OAuth2 Example

Source code for https://marc.guyer.me/posts/mezzio-example/introduction

Run tests

Using Global Composer

composer test

Using Docker

A DockerFile is included in the root of this project that can be used to create a Docker image. Using that Docker image, you can then run tests using the php version specified by the DockerFile.

Create Docker Image

docker build -t mezzio-doctrine-oauth2-example .

Run Composer in Docker Container

Run tests
docker run --rm --interactive --tty --volume $PWD:/app mezzio-doctrine-oauth2-example composer test