DEV Community

Cover image for Awesome PHP Resources on DEV πŸš€ πŸŽ‰ 🎒
Boris Jamot ✊ /
Boris Jamot ✊ /

Posted on • Updated on

Awesome PHP Resources on DEV πŸš€ πŸŽ‰ 🎒

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:

βœ… Clean code

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

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

A very detailed article about clean architecture and design patterns:

πŸš₯ 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):

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

β˜‘οΈ Tests

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

Not so specific to PHP, but still interesting:

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

πŸ”’ 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?):

5 rules to secure your PHP application:

πŸ›  Tooling

The best tool in PHP world is unquestionably composer. Number of its features are often unknown. It's not only a dependency manager. Let's have a look at its possibilities:

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

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:

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:

πŸš€ Other

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

The PHP edition of the well known imposter syndrome:

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:

🌠 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.

restoreddev image

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

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

brpaz image

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

Thanks for reading !

Top comments (26)

david_j_eddy profile image
David J Eddy

Thank you putting this together. I would like to also throw in a few more resources:

biros profile image
Boris Jamot ✊ /

You're right, but I wanted to put the's posts in the light.
Thanks anyway !

marcelgsantos profile image
Marcel dos Santos

I created a collection of resources related to object-oriented programming and PHP. There are a lot of thing about OOP, OOD, refactoring, design patterns and architecture! I glad you like it! ;)

biros profile image
Boris Jamot ✊ /

It's an awesome collection you built here!

Congratulations for that great job!

tux0r profile image

PHP don't have a big audience




vasilvestre profile image
Valentin Silvestre

He surely talk on as most people do js here

tux0r profile image

Is there a source for that?

Thread Thread
biros profile image
Boris Jamot ✊ /

The number of PHP posts is far, far behind JS posts, but what I feel (without being sure because there is no counter for that) is that people here are (quite) not interested by PHP.
Very few posts get more than 100 likes.

Thread Thread
cjbrooks12 profile image
Casey Brooks

Checks out βœ…

lkopacz profile image
Lindsey Kopacz

This is fabulous! I am definitely a JS person, but I've been alongside PHP devs for a long time and it's severely underrated considering how much of the internet it runs.

theme_selection profile image

Thank you very much for sharing.
Indeed a great list to keep in check.

You can check the Materio Free Vuetify VueJS Laravel Admin Template.

It is the latest, developer friendly and highly customizable open source admin template made with Laravel.

daedalus418 profile image
GaΓ«lle M.

Thank you!
I have to learn PHP. This will be helpful.

cartinez profile image

This post is awesome! Thanks a lot.

biros profile image
Boris Jamot ✊ /

I'm happy you like it, thanks !

mattnmoore profile image
Matt Moore • Edited

Great list! Don't forget though!

Ah @david_j_eddy beat me to the punch!

gab_ui profile image

Thanks you :)

alanmbarr profile image
Alan Barr

Great post thanks for sharing. There's a big PHP audience out there but modern resources are a bit out of date since everyone seems to use everything else as their go to.

charliedevelops profile image

Thanks for linking my article, really pleased you like it!

restoreddev profile image
Andrew Davis

Thanks for including my posts. That’s a great list!

biros profile image
Boris Jamot ✊ /

Thanks for promoting PHP so well !

brpaz profile image
Bruno Paz

Very nice compilation!

And thanks for the reference of my 2 articles. I will definitely keep writing more stuff.

mohammadfouladgar profile image

Thanks for sharing this list.

I think this article is not bad:

biros profile image
Boris Jamot ✊ /

Sorry but I tried to avoid posts about framework or library. I just put vanilla PHP posts.

saruque profile image
add this too