Matthew Setter

Matthew Setter headshot

Matthew Setter is an software developer, focusing on _security_, _continuous development_, and _Zend Expressive_. He’s currently writing a new book and course: Zend Expressive Essentials, which teaches the key fundamentals of building applications with Zend Expressive.

twitter: @settermjd

Articles

Creating Zend Expressive Applications by Hand

By Matthew Setter

Zend Expressive is the latest iteration of Zend Framework. Like a lot of modern frameworks, it supports a lot of command line tooling to make life easier when bootstrapping applications with it. In Zend Expressive’s case, when creating new applications, you can use the Zend Expressive Skeleton Installer to rapidly create a new application that is ready-to-go with basic routing, dependency injection, templating, and error handling. While that can be a logical way to go, it’s not the only way. You don’t need to use the Skeleton Installer. You can create applications by hand.

Published in Internal Journeys – October 2018, October 2018

Education Station: How to Write Your Own Code Sniffer

By Matthew Setter

Whether you’re new to PHP, or you’re more of a seasoned veteran, you’ve probably heard about PHP_CodeSniffer. The package, which has been around since September 2006, checks source code for coding standards violations. I’ll start off by showing you how to create a style which is a combination of other standards. I’ll then refactor it, so you learn how to pick and choose only the elements from those standards you need. Finally, I’ll step through the process of creating your own code sniff from scratch, one handling a specific use case.

Published in Talking Code, December 2017