Archive for the ‘development environment’ Category

Let’s Compare: RunCloud vs Forge vs ServerPilot

Posted on: No Comments
When your website or web application has outgrown your shared hosting account, it is time to move it to the cloud, or into a virtual private server (VPS). Nowadays, VPS providers offer better value in terms of CPU and RAM resources than the shared host...

Symfony Console Beyond the Basics – Helpers and Other Tools

Posted on: No Comments
It's undeniable how useful console commands can be when developing software. Not too long ago we re-introduced the Symfony Console component. This component allows us to create structured and testable CLI commands. We created some simple commands and t...

ReactJS in PHP: Writing Compilers Is Easy and Fun!

Posted on: No Comments
I used to use an extension called XHP. It enables HTML-in-PHP syntax for generating front-end markup. I reached for it recently, and was surprised to find that it was no longer officially supported for modern PHP versions. So, I decided to implement a ...

How to Master Your API Workflow with Postman

Posted on: No Comments
Building good APIs is hard, and anyone who had the chance to do so can relate to this. A project can easily grow to become a mess. One can keep trying to adopt an approach to make it more enjoyable, like trying a documentation-first workflow, but somet...

Re-Introducing PHPUnit – Getting Started with TDD in PHP

Posted on: No Comments
There are a lot of PHPUnit posts on our site already (just check the tag), but it's been a while since we've actually introduced people to it, and the tool has evolved significantly since then. This article aims to re-introduce the tool in a modern way...

How to Build a Lyrics Website with Laravel Scout and Algolia

Posted on: No Comments
Laravel Scout is a driver-based library for adding full-text search to Eloquent models. If you're not familiar with Laravel or Eloquent models in general, we have a good premium course available here. In this tutorial, we will create a minimal lyrics w...

8 Must Have PHP Quality Assurance Tools

Posted on: No Comments
For shipping quality code, we must have testing in mind while coding (if not doing TDD). However, with the wide range of PHP testing tools out there, it's hard to make a choice! Exploring PHP is a fun adventure (premium course on that here!) but it's h...

Poka Yoke – Saving Projects with Hyper-Defensive Programming

Posted on: No Comments
When working in a medium to large team on the same codebase, it can sometimes become hard to understand each other's code and how to use it. Various solutions exist to help with this. For example, you can agree to follow a set of coding standards to ma...

What Is Snapshot Testing, and Is It Viable in PHP?

Posted on: No Comments
Ah-ha moments are beautiful and rare in programming. Every so often, we're fortunate enough to discover some trick or facet of a system that forever changes how we think of it. For me, that's what snapshot testing is. You probably write a lot of PHP c...

How to Build a Cryptocurrency Auto-Trader Bot with PHP? 💰

This tutorial will walk you through the full process of building a bitcoin bot with PHP - from setup, on to your first execution of an automated trade, and beyond. Cryptocurrencies I should not need to tell you but, a couple of months ago you could bu...