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.
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.
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.
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
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.
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.
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