The Ultimate Guide to Deploying PHP Apps in the Cloud
TL;DR: There is a popular mantra amongst developers that goes like this write, test and deploy. In this tutorial, I'll show you how to deploy your PHP apps to different cloud server platforms such as...
View ArticleCan You Build a CLI Image Drawing Laravel App with These Packages?
It's time for our monthly hunt for new open source libraries to use and contribute to! If you're new to Sourcehunt, it's our monthly post for promoting open source projects that seem interesting or...
View ArticleWeb App Performance Testing with Siege: Plan, Test, Learn
Building a simple web application today isn’t that hard. The web development community is friendly, and there are lots of discussions on Stack Overflow or similar platforms, and various sites with...
View ArticleFamily CRMs, Guzzle Wrappers and PHP Machine Learning? Sourcehunt!
If you're new to Sourcehunt, it's our monthly post for promoting open source projects that seem interesting or promising and could use help in terms of Github stars or pull requests. It's our way of...
View ArticleWhat Is Snapshot Testing, and Is It Viable in PHP?
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...
View ArticlePoka Yoke – Saving Projects with Hyper-Defensive Programming
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...
View ArticleThe Theory of Constraints in PHP
I had been reading The Phoenix Project, a great novel about IT (you read that right), which presents day to day IT and devops problems at a large Amazon-like company in a way which makes mortals...
View ArticleHow to Write JavaScript-Style Test Watchers in PHP
I didn't start out writing tests for my code. Like many before and since, my "testing" was to write code and refresh the page. "Does it look right?", I'd ask myself. If I thought so, I'd move on. In...
View ArticleRe-Introducing PHPUnit: Getting Started with TDD in PHP
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...
View ArticleWhat Are the Workflows of Prominent PHP Community Members?
Workflow refers to both the process and the tools that are used in this process. Almost every developer comes up with a process of creating and finalizing the project deliverables. This process is...
View ArticlePHPBot – Can a PHP Bot Help You Look up Documentation Faster?
I came across PHPBot the other day (not to be confused with Botman or Fondbot) - a "chatbot" which helps you look up PHP manual entries and generates example code for them. If you follow me on Twitter,...
View ArticleLet’s Compare: RunCloud vs Forge vs ServerPilot
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...
View ArticleGit and WordPress: How to Auto-Update Posts with Pull Requests
At Bitfalls.com, we also use WordPress for now, and use the same peer review approach for content as we do at SitePoint. We decided to build a tool which automatically pulls content from merged pull...
View ArticleHow to Ensure Flexible, Reusable PHP Code with Insphpect
Insphpect is a tool I wrote as part of my PhD project. It scans code for object-oriented programming techniques that hinder code reusability and flexibility. Why? Let me begin with two mundane...
View ArticleSetting Up a Modern PHP Development Environment with Docker
In this article, I’ll lay out how to best get started with setting up a PHP dev environment, walking you through how to get set up with Docker. There are so many ways to set up your PHP dev...
View Article