Browse category The Workshop

The Workshop: Acceptance Testing with Codeception

by · March 31, 2022

0
 

Acceptance testing is my favorite tool to reach for when working with legacy applications that may have low test quality or no tests at all. Because acceptance testing approaches the application from outside of the source code, we’re able to greatly increase test coverage without having to touch the application’s code itself. Larger teams can […]

 

The Workshop: Queues with Horizon

by · March 1, 2022

0
 

In the January 2022 edition, my friend Chris Tankersley wrote Education Station: [Background Queues](https://phpa.me/background-queues), a fantastic primer for using background queues, or workers with your PHP application. This month we will implement [Laravel Horizon](https://laravel.com/docs/8.x/horizon), a dashboard monitor for your Redis queues.

 

The Workshop: Configuring PHP-FPM & Apache

by · February 3, 2022

0
 

Last month we covered PHP and Apache and demonstrated how to get started with our custom virtual host in Apache and execute PHP via the libapache2-mod-php (mod-php) library. This month we will replace our use of mod-php with the Fast CGI Process Manager (FPM). Instead of bundling a PHP worker process in Apache, we’ll use FPM as another […]

 

The Workshop: Apache and PHP – Back to Basics

by · January 17, 2022

0
 

This month we’re diving into Apache and PHP configuration to better understand the relationship between the web (HTTP) server and our application. When getting started with PHP, it’s quite common for tutorials and guides to skip over the webserver and focus more on the language aspects. PHP developers need to have a strong understanding of […]

 

The Workshop: Octane & Roadrunner

by · December 10, 2021

0
 

Laravel Octane is a package that leverages another application server that loads the entire application once and keeps the application in memory throughout multiple requests, which can dramatically increase response times in applications by removing the load time for bootstrapping Laravel and all of the dependencies. by Joe Ferguson

 

The Workshop: Intro to Craft CMS

by · November 11, 2021

0
 

Last month we covered Nitro, a local development environment that came out of the Craft CMS community. This month we’re going to dive into Craft CMS and demonstrate getting started with a basic project. by Joe Ferguson

 

The Workshop: Nitro

by · October 20, 2021

0
 

Nitro is a command-line tool for managing Docker-based PHP development environments. Like most development environments, Nitro provides several defaults to improve the developer experience of using Docker. A primary focus of Nitro is “Simplicity matters,” meaning the developer should be focused on building their project, not getting bogged down in the DevOps swamps. If you […]

 

The Workshop: Laravel Livewire

by · September 11, 2021

0
 

Laravel Livewire describes itself as a “..full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel.” As a developer who has always struggled to feel comfortable with the latest and greatest front-end tooling, “without leaving Laravel” is incredibly appealing.

 

The Workshop: Testing with Pest Framework

by · August 14, 2021

0
 

Pest is a PHP testing framework focused on simplicity and brings a powerful expectations API to PHP. Pest is influenced by Jest, a JavaScript testing framework. Pest was created by Nuno Maduro originally via Sponsorware license and ultimately was published under the MIT open source license. You can think of Pest ha an alternative to other testing frameworks, such as […]

 

The Workshop: Installing Rocky Linux

by · July 14, 2021

0
 

If you use CentOS as the L in your LAMP stack, you may be wondering what to do after Red Hat’s announcement. Let’s look at a new community distro that aims to provide a replacement for CentOS.