List image of the post How to test static pages automatically in Laravel Read more
Written 1 year ago
3 min read

How to test static pages automatically in Laravel

I developed a way to automatically crawl and test big parts of your Laravel application.

With just one line of code, you can now write a "peace of mind" test that gives you a lot of confidence.

Read more
List image of the post How to use env variables with Laravel Envoy scripts Read more
Written 1 year ago
1 min read

How to use env variables with Laravel Envoy scripts

Laravel Envoy provides a nice alternative for projects that don't need or can't have a push to deploy setup.

I found out that you can use environment-variables quite easily inside tasks.

Read more
List image of the post How to use Spatie's response cache with Statamic Read more
Written 2 years ago
2 min read

How to use Spatie's response cache with Statamic

Spatie's response cache package speeds up your page quite considerably.

This is fine for static pages, but I found a quick way how to use the library with the awesome Laravel CMS Statamic

Read more
List image of the post Testing Vue in Laravel with Jest - let's make it a little more easy Read more
Written 3 years ago
8 min read

Testing Vue in Laravel with Jest - let's make it a little more easy

Laravel offers an awesome testing environment for PHP, but if use Vue.js components in your frontend and don't test them, you have a big blindspot.

Since it is quite a struggle to even get started, I wrote a pacakge to simplfy it. In this post, I also nerd out about the detais that went into writing the package.

Read more
List image of the post Using Laravel's Markdown parser for a blog - and adding lazy images Read more
Written 3 years ago
7 min read

Using Laravel's Markdown parser for a blog - and adding lazy images

I found out Laravel 6.x already ships with a pretty powerful package for parsing Markdown, and it can be extended and customized.

After a few headaches I was able to configure it to my liking for this blog, and even create an extension that adds lazy images.

Read more
List image of the post Use the Laravel Scheduler without access to cronjobs Read more
Written 4 years ago
2 min read

Use the Laravel Scheduler without access to cronjobs

The Laravel Scheduler is an awesome tool since it greatly simplifies the usage of confusing cron job definitions I am simply not smart enough for.

Learn to use this feature without access to your servers cron jobs on cheap hosters

Read more