A developer having a break while holding a cup of coffee

Hi there. Here are the steps I followed to speed up the process of building a Vue.js app powered by Laravel. The objective: Set up and run a new dev environment right away. I am using Homestead, which is a popular Vagrant box that comes with all you need to create modern PHP apps, so I will...

Playing chess

I am happy to share with you that I've recently written a chess board representation in PHP named PGN Chess which is freely available on GitHub under the GPL license, and today I'll be explaining a couple of challenges that I came up with while implementing it. Let me start by saying what PGN...

Businessman with domino

Recently I had the chance to integrate the Money library into a Symfony app with Doctrine. It looked as a pleasant learning experience in the beginning, but I swiftly found myself dealing with complexity here and there, so I said, "Let's share some feedback with those guys behind the PHP Money l...

This is a graph

Are you OK? I hope so! Today I've had the opportunity to dig deeper into the world of permutations and I've figured out a way to perform a topological sort (also known as topsort) in PHP without using Kahn's algorithm nor Depth-first search – which are a couple of usual solutions to this pro...

Pool balls representing a permutation

Have you ever needed to compute all permutations of a set of elements? I'm sure you have, and that's why you're googling for this today! Aren't you? Please keep on reading. I'm posting a PHP implementation of Heap's algorithm that works OK.

Permutations, you know. For instance, you may want to...

Illustration of a group of people making an experiment

I know, it's been ages since I last published something on here. As some of you already know I've been busy. Time flies without notice, and my website should have become almost deserted in terms of number of visits because of that.

But paradoxically enough, that's not been the case: My blog's...