Mezzio Example: Functional Testing

Where do we start? It's a good choice to start any application with a solid structure for testing the application with automated testing tools. That's why the first post in this series is about testing. Any well-tested application will typically have more lines of testing code than actual application code. Starting with a good structure for testing will pay dividends down the road. In this post, I'll show a basic setup for testing Mezzio applications. [Read More]

Mezzio Example: Introduction

What is this? Let's create a REST API with Mezzio. In this series, you'll learn how to create a REST API from the ground up. We'll use Mezzio as the base framework, Doctrine for the data layer, OAuth2 for authentication and authorization, PHPUnit for automated testing, and several other libraries along the way. Source Code I've created a new bare-bones application starting with the Mezzio Skeleton Application where all the code shown in this series lives. [Read More]