Awesome PHP Resources on DEV 🚀 🎉 🎢
Tags: php, devtips, bestofdev, learning
Published: 2018-11-07 15:28:46

---
title: Awesome PHP Resources on DEV 🚀 🎉 🎢
published: true
description: List of awesome PHP resources (posts, authors) on dev.to
tags: php, devtips, bestofdev, learning
cover_image: https://thepracticaldev.s3.amazonaws.com/i/c5rypwl3ykxxzvuvmkld.png
---

PHP is an unfairly underrated language, but here at DEV, we have yet some great resources about it.
It's not so easy to find them out, because PHP don't have a big audience and related posts get drown among many other (JS) posts, but nevertheless, some of them reached a pretty high quality.

# 🏗 Bootstrapping

It can be difficult for newcomers to know where to start a new PHP project. If you want to give a try to the `Slim` micro-framework, have a loot at @charliedevelops's following post:

{% link https://dev.to/charliedevelops/getting-started-with-slim-php-framework-by-building-a-very-simple-mvcoop-app-4j2b %}

# ✅ Clean code

A great post about some clean code rules in PHP, with great screenshots:

{% link https://dev.to/gonedark/a-month-of-clean-code-tips-709 %}

Some other clean code rules, applied to a concrete example:

{% link https://dev.to/restoreddev/writing-beautiful-code-10p6 %}

A very detailed article about clean architecture and design patterns:

{% link https://dev.to/barryosull/cleaning-up-your-codebase-with-a-clean-architecture %}

# 🚥 Quality

I wrote the following post to show dev how to check the quality of PHP code by using 3 static analysis tools (`phpcs`, `phpmd` & `php-cs-fixer`):

{% link https://dev.to/biros/how-to-master-your-code-through-your-project-lifecycle-12-4ke3 %}

The next article shows how to automate everything with the editor, `composer`, `git` & the CI/CD pipeline:

{% link https://dev.to/biros/-how-to-master-your-code-through-your-project-lifecycle-22-2pej %}

# ☑️ Tests

How to design your code to be able to unit test everything:

{% link https://dev.to/biros/-unit-tests-in-php-3il7 %}

Not so specific to PHP, but still interesting:

{% link https://dev.to/gonedark/fake-it-by-stubbing-the-mock-dummy-df2 %}

Because unit tests are never enough, we need acceptance tests. Here is a simple way to test an HTTP API as a black box:

{% link https://dev.to/barryosull/acceptance-testing-your-php-app-with-ease-e6a %}

# 🔒 Security

It's well known that misusing PHP can lead to serious security breaches. The following resources will be a great introduction for people who care about security (who doesn't?):

{% link https://dev.to/devmazee2057282/php-security-introduction-4ag7 %}

5 rules to secure your PHP application:

{% link https://dev.to/restoreddev/security-tips-for-a-php-application-4e9a %}

# 🛠 Tooling

The best tool in PHP world is unquestionably [composer](https://getcomposer.org/). Number of its features are often unknown. It's not only a dependency manager. Let's have a look at its possibilities:

{% link https://dev.to/gauravmak/what-why-and-how-of-php-composer-21nc %}

@david_j_eddy introduces 5 essential tools every PHP developers should use:

{% link https://dev.to/david_j_eddy/5-php-tools-to-make-your-life-more-enjoyable-1jl1 %}

If you ever tasted the pleasure of debugging, then you know you can't do without. Thanks to @brpaz, you'll now know how make all the things work together:

{% link https://dev.to/brpaz/docker-phpstorm-and-xdebug-the-definitive-guide-14og %}

This last tool has been developed by the author of the article, who can thus help you get started. It's a tool to quickly bootstrap a PHP project from scratch:

{% link https://dev.to/adhocore/php-scaffoldingkickstarting-tool-19fd %}

# 🚀 Other

Because we all know that reading books help us understanding the things more deeply, here is a list of suggested books about PHP:

{% link https://dev.to/brpaz/my-favorite-php-books-30l7 %}

The PHP edition of the well known imposter syndrome:

{% link https://dev.to/restoreddev/imposter-syndrome-php-edition-8p9 %}

Because such articles are very, very rare, and because I already found myself lost in the face of the lack of resources when « cloudifying » a PHP app, here is a great article about PHP with containers:

{% link https://dev.to/johnmccuk/isolating-php-with-docker-containers-4epn %}

---

# 🌠 People to follow

@restoreddev's posts are always well written, and most of them are about PHP. As a PHP dev, you can't definitely not follow him.

{% user restoreddev %}

@gonedark's posts are mostly about clean code, PHP and git. Some of them are among the most popular on DEV.

{% user gonedark %}

Two of the above articles were written by @brpaz, and some others worth the read.

{% user brpaz %}

---

If you think a PHP post is missing in the list, don't hesitate to mention it in the comments !

Thanks for reading !