- Mutation testing with infection in big PHP projects
There's no doubt that having tests in a project allows you to find potential bugs earlier and more easily. Lots of OSS projects require a minimum code coverage in order to accept new pull requests from contributors, and proprietary projects also tend to have some sort of continuous integration workf…
category Archive — "tools"
— 2018 —
— 2017 —
- How to simulate a socket connection with AWS Simple Queue Service
At some point, any enterprise project will probably need a message queue. A message queue is used to publish information (usually known as messages) that a different "node" (usually known as worker) will consume in order to perform a specific action. It is frequently used in web applications to pass…
- The PhpStorm plugins of my choice
Earlier last week I found a github repository which collects different resources related with PhpStorm. Plugins, themes, utilities... I found it very interesting, because I think PhpStorm is the best PHP IDE by far, and I've been using it on an almost daily basis for the last 4 years. The thing is t…
- Take advantage of vault project's high availability with an AWS internal load balancer
In a project I'm working on, we recently needed to add some kind of encryption system that allowed us to store sensitive information in a secure manner, but being able to access to it at runtime in order to pass it to third party services. Securely storing your own app passwords is easy. You just ha…
- Set specific IP addresses to docker containers created with docker-compose
Recently I have been testing one service and its clustering capabilities, in order to see if it fits in a project I'm working on. I decided the easiest way to do this was by creating a couple docker containers and setting up a cluster between them. It should be an easy task in theory. My first appro…
- Run PHPUnit tests inside a docker container from PhpStorm
Docker is, without any doubt, the trending tool these days. Everybody wants to use it, because it is very useful, allowing to easily generate development environments for any kind of application. A couple months ago I started working with docker myself (it has taken me a while, I know), and now I ca…
— 2016 —
- Setup a Let's Encrypt certificate in a AWS Elastic Load Balancer
Let's Encrypt is the latest internet trending. Its a relatively young Certification Authority which intends to provide free and automated SSL certificates so that everybody can set encryption to their sites and applications. It is a Linux Foundation project sponsored by most of the biggest Internet …
— 2015 —
- Composer advanced concepts
Composer is The Tool in any modern PHP project. Nowadays I can't imagine to work without it. It is much more powerful than some people think, easily solving the integration of third party components in our projects, but there are some advanced features that are less known. I'm going to try to explai…
- Managing objects creation and dependency injection with Zend\ServiceManager
Some time ago I wrote the most successful article of this blog, Advanced usage of ServiceManager in Zend Framework 2, explaining all the ways a service can be created by making use of Zend\ServiceManager, the service container component in Zend Framework 2. On this article I'm going to show a real e…
— 2014 —
- Setting up a PHP development environment with Vagrant
Setting up a development environment is not always easy, specially for web development. Sometimes you need to install and configure plenty of applications. A database server, a web server, server-side programming language binaries, mail server, job queue server, specific package managers, building t…