Hello. In last weeks I found some really nice PHP books that I recommend every PHP developer to read. In this post, I will give a brief overview of them.
PHP The "Right" Way - By Phil Sturgeon and Josh Lockhart
If you are a beginner PHP developer you have to read this book. PHP improved a lot in the last few years and its very easy to find outdated articles and tutorials on the web. This book is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time. It covers everything from the most basic language features to Dependency management with Composer and Virtualization. A starting point for any PHP developer.
The Clean Architecture in PHP - by Kristopher Wilson
This book, written by Kristopher Wilson is an amazing book for everyone who wants to know how to build a PHP application that is testable, refactorable and easy to mantain. It talks about the concepts of SOLID design, various design patterns like Dependency Injection and a look at various architectures. It also explains how you can make your code more decoupled, inclusive from 3rd party libraries or frameworks by defining Interfaces and use the Adapter pattern. In the end, it shows some case studies how to build the same application using Zend and Laravel.
Its a very well written book and very easy to read.
Scalling PHP book - by Steve corona
I read this book last week and is a must read for anyone that wants to know the ins and outs of how to scale a PHP application. Its written by Steve Corona, former CTO of Twitpic, the photos and videos sharing service of Twitter, and it teaches how you can scale all the layers from your application stack from the DNS to the deep of MySQL and PHP-FPM configurations.
In the end, there are also included a couple of real world Twitpic scenarios like scaling user uploads or image handling.
A Year With Symfony by Matthias Noback
If you are a Symfony Developer, then this book is for you. It explains some inner workings of Symfony and also some best practices for organize your Symfony code.
EXTRA - Build APIs You Won't Hate - by Phil Sturgeon
This book is not directly related to PHP but I am reading it right now and felt the need to mention it in this post. As a developer, for sure, at some point of your career you had the necessity to build an API for your application or to consume a 3rd party API. Its not a simple task to build a REST API but this book explains everything you need for building a top quality and completelly RESTful API from Planning your endpoints to HATEOAS and versioning.
Thats it for today. Hope you like this post. If you have read any of this books, please give your opinion about them in comments. Or if you know any other great book not listed here, let me know. ;)