Blog


September 3, 2020

The Workshop: Producing Packages (Part 3) - php[architect] Magazine December 2018

Over the past two months we've been building PHP Easy Math a purposely simple example library to demonstrate how to build a reusable package for the PHP ecosystem. Make sure to check the previous issues if you're just now joining us! This will be the third and final installment in this series. This month we're going to cover triaging and managing issues users may open as well as pull...

learning packages phparch writing php

Read

September 2, 2020

The Workshop: Producing Packages (Part 2) - php[architect] Magazine November 2018

Last month we started building PHP Easy Math, a small library which can be included in PHP projects to provide simple methods to do basic addition and subtraction. We're using this as an example library to focus on what makes a library "good" we are less worried about the practical need for and usage of our package. If you have not yet read Part 1 pause here and go read The...

learning packages phparch writing php

Read

September 1, 2020

The Workshop: Producing Packages (Part 1) - php[architect] Magazine October 2018

This month we are diving into creating PHP packages and ensuring our packages are held to a high standard of having tests, license information, and other best practices for creating and maintaining high quality PHP packages. Composer changed the entire PHP ecosystem by giving us Composer, a fantastic package manager and Packagist, the public repository of libraries. PHP developers can...

learning packages phparch writing php

Read

August 27, 2020

The Workshop: Describe Your Tests with Kahlan - php[architect] Magazine September 2018

This month we're covering a full featured unit and behavior driven development (BDD) test framework named Kahlan. Kahlan is similar to Rspec (Ruby) and JSpec (Java) using BDD style syntax where you describe the behavior your application should have. We already have tons of PHP testing frameworks readily available in the PHP ecosystem such as PHPUnit, phpspec, Codeception, Behat, and...

learning phparch writing testing php

Read