Functional Programming in PHP Book
Learn advanced and powerful functional programming techniques in your favourite language.

What's in the book?
- Powerful functional programming methods
- The ever elusive monad in easy steps
- Tips for implementation in the real world
- Event driven programing
- Tooling and frameworks
- Applicatives, functors and function objects
- λ functions, composition and currying
Buy the book
·Why should everyone else have all the fun? PHP can easily be functional too!
It is fair to say that many programmers believe power programming techniques are not possible with PHP in part due to an infamous legion of detractors.
This book will not only dispel those myths, but also show you how to push PHP to it's limits by programming in a functional style.
Follow @FunctionalPHP on Twitter.
Who's it for?
This book is for anyone that has an interest in functional programming or PHP as an advanced programming language.
If you are curious or have never even heard of functional programming before then this is the gentle introductory text you have been looking for. Equally it serves those seeking to exploit the advanced functional concepts such as monads in a PHP context.
You do not have to be running the latest bleeding edge build of PHP to enjoy the book and make use of all the techniques. It is a practical guide that can be implemented with PHP 5.3.2 whilst highlighting the syntactic sugar and functionality available in later releases.
Already read the book?
Firstly, thank you for buying the book and for taking the time to read it!
I would be really grateful it if you could spare a moment to email me any feedback you may have: [email protected].
Extras
Functional PHP talk
I gave a brief and gentle introduction to functional programming at PHP Hampshire in the following video.
The slides and some of my notes are also available online for closer inspection and review.
Errata
The known errata can be found on the errata page. If you find an issue in the book please email [email protected].
Follow @FunctionalPHP on Twitter.
About me
My name is Simon Holywell and I am an Australian Zend certified Development Director working at Mosaic in Brighton, UK. Previously I have worked in London, Melbourne and Auckland for web development firms.
Currently I do most of my work in PHP, but my private projects are written using Python and Scala.
I live on the south coast of England, have two children and a dog. I am also a big fan of motorcycles although I am in-between bikes at the moment.
I have a blog (simonholywell.com) and twitter (@Treffynnon) where you can keep up to date with my exploits.