Adding Workbox to a @vue/cli PWA

Posted in Javascript on April 10, 2019

Workbox is the workhorse for progressive web apps of today. With only a few lines of code we get precaching, runtime caching and offline mode. In this post I’ll show how to add Workbox to an existing PWA built with @vue/cli and the pwa plugin to obtain a perfect score of 100 in Google’s Lighthouse tool.

Read more

Running queues for multiple applications on the same server with Laravel Horizon

Posted in Development on April 3, 2019

Queues are an essential part of modern web applications. By handling long running processes as background tasks, apps become much faster and your users get a better experience. Examples are sending emails, processing file uploads and generating documents. With Laravel Horizon it’s easy to manage queues. Setting up horizon is easy. However, I ran into some issues when I tried to run Horizon for multiple apps on the same server. In this post I’ll describe how to fix them.

Read more

Why I ditched Sublime for VS Code

Posted in Development on March 13, 2019

Lately I decided to give a new code editor a try: VS Code. Coming from Sublime I quickly learned how to use it and it has become my favourite editor over time. In this post I'll discuss my setup and why I like this editor more than Sublime.

Read more

Using WordPress as an API for Laravel (1) – WordPress setup

Posted in PHP on February 28, 2019

Nowadays, we mainly build custom websites, webshops and web apps using Laravel. Many of those websites have info pages or blog posts where the administrators want to be in charge of the content. How do we achieve this? We tried different wysiwyg editors, but it turned out that the functionality was too limited. Then we started thinking about WordPress, our framework of choice in the past. It has a great admin panel for maintaining content pages or a blog. In this post we discuss how to use WordPress as a headless CMS and combine it with the flexibility of Laravel to build custom websites and web apps.

Read more

How to update your Laravel Homestead Box

Posted in Development on February 13, 2019

The process of updating your laravel/homestead box is a bit daunting. Questions poup up in your mind. Questions like: Will things still work as they did? I am good now, why should I update? This post is my attempt to create a recipe for this update with some gotcha's I wish I knew ...

Read more