It’s here! You can NOW buy the book! View available packages

To this day my post about socket programming in PHP was viewed 45.685 times.

It’s an article about the basics of socket programming in PHP, and how to get on the right track. I thought this was interesting.

Then I thought back, how I struggled with this concept when I started out programming, nearly 10 years ago. Servers are mindblowing at first.

  1. There are two ways to do this in PHP. And you have to discover the pleasant way yourself (it’s not the obvious one).
  2. You need to know some networking terminology to understand it properly, which is often omitted in programming books. Especially in books about programming in PHP.
  3. The PHP manual is often aweful to read. Good, simple, and tweakable examples are hard to come by.
  4. We are used to the fact that PHP starts from fresh memory on each request, servers are so entirely different.

So this sucks. Let’s fix this.

What if you had a book, that…

  1. tells you the right way to approach socket programming in PHP.
  2. starts bottom up, beginning with the basic networking terminology.
  3. provides simple, tweakable examples, which you can use as a base for your stuff.
  4. and has someone who is available for all your questions, if you are stuck.

The little PHP Socket Programming Handbook

Available NOW starting at just 29€ (probably way less than you make in an hour), your guide to building awesome things with sockets in PHP.

Get a free sample chapter

  • Contains the updated intro to socket programming with PHP
  • 12 page PDF

We never share your data with anyone and hate Spam just like you do.

* indicates required


Self-Learner (29€)

Buy for 29€

Guided (49€)

This package is for people who need a bit more guidance for achieving their goal.

Buy for 49€


This package is best suited for consultants or agencies which have a specific use case and want a pointer on how to get there quickly. I’ll talk with you about your use case. You can ask everything about socket programming and I’ll try to get you into the right direction.

Buy for 299€

Before you leave

There’s a free sample chapter for you, where you’ll learn all the basics of networking and socket programming, and learn to write your first server.

Enter your email address and you’ll get:

  • An intro to networking basics
  • An intro to socket programming with PHP and how to write your first server
  • 12 page PDF

We never share your data with anyone and hate Spam just like you do.

* indicates required