How To Automate Projects Using Composer Scripts

How To Automate Projects Using Composer Scripts

How well do you really know Composer? Do you just know composer install, update, and require, and some of the composer.json configuration? Or do you really know it? Here, in the second part of the Composer series, we’ll look at the scripts section of composer.json.

Read More…

The Composer Command-Line Essentials

The Composer Command-Line Essentials

How well do you really know Composer? Do you just know composer install, update, and require, and some of the composer.json configuration? Or do you really know it? In this series, you’re going to take your skills to the next level; starting with the command-line.

Read More…

How to Simplify Expressive Configuration with Interop-Config

Want a simpler way to configure a Zend Expressive application? Want to simplify how it’s done, yet still be sufficiently expressive enough, that it’s easy to read and maintain? Then it’s time you got to know Interop-Config by Sandro Keil.

Read More…

How to Build a Docker Test Environment

Docker makes it easy to build local development environments. But, what about being able to build test environments and run acceptance, unit, functional, and other types of tests? In this, the second part of the developing with Docker series, I’ll show you how to implement testing using PHPUnit and Codeception in the configuration which we’ve built.

Read More…

Whoops, I Forgot The Error Handler

Ever experienced HTTP 500’s, but found that your error logs are empty. Ever had no clue why or how this could be happening? Perhaps you forgot to enable the Whoops error handler.

Read More…

How To Build a Local Development Environment Using Docker

Building a local development environment which mirrors production hasn't, historically, been an easy task. But with Docker, it's become, virtually, trivial. Come learn how to setup a local development environment using Docker for developing Zend Expressive (and other PHP) applications.

Read More…

How To Use Laravel’s Eloquent ORM with Zend Expressive

Laravel’s Eloquent ORM isn’t likely the first one you think of when using Zend Expressive. You likely think of Zend\Db or Doctrine. But, with a little bit of work, it’s possible to use Eloquent with Expressive. Today’s tutorial shows you how - step-by-step.

Read More…

How To Simplify Zend Expressive Configuration with ConfigProviders

In any application there are a lot of moving parts, which can lead to a lot of complexity — especially when it comes to configuration. Given Zend Framework’s flexible nature, this can easily be the case — if we’re not careful — requiring a lot of supporting configuration. ConfigProvider classes, however, make managing application configuration very maintainable, even intuitive. This tutorial shows how to implement them.

Read More…