Blog
The posts are all written in English.
Installing Memcached on CentOS and DirectAdmin for WordPress
This article will go through the steps to get Memcached installed on a Centos (7 or 8) server with DirectAdmin.
I needed to install Memcached to make use of object caching in WordPress on a VPS. The VPS was hosting one website...
Read more
How to make WordPress-like custom fields for Laravel models
Have you ever run into a situation where you want to be able to dynamically store data along with your Laravel Model, without having to add an (excessive) amount of columns to your database table? I sure have.
I think there a...
Read more
Handling media in Laravel with Laravel Simple Media
About two weeks ago, I published an open-source Laravel package on Github called Laravel Simple Media.
The package enables you to upload media files, optionally...
Read more
Using Browsershot for PDF generation
Yesterday I was trying to tweak the invoice design for Addrow, a SaaS application I made with Laravel. I have basically two templates for the invoice, one for web display...
Read more
Use CodeSnappy for good looking code snippet images
Yesterday, I posted a Tweet that included a screenshot of a code snippet. Before I could take the screenshot I needed to toggle some settings in my code editor (VSCode), and after I thought: why not make a simple tool to make that...
Read more
How to validate object ownership in Laravel
There are several ways in which you can determine if a user owns an object in your Laravel application. This post will give you a couple of examples how you could implement this check within your form request validations.
Read more
A video walk-through of Addrow and future plans
In August last year, I introduced Addrow for the first time. Addrow is an invoicing web application which aims to make invoicing as simple as...
Read more
A simple way of implementing user bookmarks in Laravel
For a recent project, I needed a way for users to bookmark posts. Other then posts, I imagine the application to have other objects in the future too. So, with this in mind, I decided to build a solution which can handle other objects...
Read more
Inspired Github theme for PHPStorm
Since a couple of days I have been trying out PHPStorm. So far I really like it, but I notice that for quick changes I tend to refer back to Visual Studio Code.
However, since using PHPStorm I wasn’t able to find my favorite...
Read more