Coding Adventures

Written by Mario Linguito who lives and works in Neaples, Italy building useful things. You should follow him on LinkedIn

Sometimes you do not need a module

August 20, 2022

We live in a world where everything must be complex. In the programming world, this phenomenon is exasperated (I fell into this trap of complexity in the past). We want to use the last framework, the most complex infrastructure, the programming language of the moment, and the fastest technology ever.

How to use a custom token in Drupal and save your day

February 19, 2022

Drupal is versatile and powerful, but if we want to tell the truth, every open-source software is like that, just because you can modify and adapt every piece of the code based on your exigences.

How to use PHPStan on your Drupal module: a practical example of mine

November 01, 2021

Today some tools help us to write better code and avoid logic errors, consequently avoiding bugs. One of these tools is PHPStan, an open-source (just for this you should love it) and free-to-use (it has also a premium version) PHP static analysis tool that aims to make your code better.