Generate time ranges with Carbon

In PHP there is no need to be clever with arrays, especially if you are using Laravel and Collections. There is a function for allmost anything. No need to invent...

Laravel Dusk: This version of ChromeDriver only supports XX

This version of ChromeDriver only supports Chrome version 78 Laravel <5.8 projects, download this pacjage composer require --dev staudenmeir/dusk-updater php artisan dusk:update Check this version

Make migration for package

Made a small command for making migration for packages. I then to forge the parameters. class MakeMigrationForPackage extends Command {...

Bash aliases

Restart OPCache alias phprestart='echo "" | sudo -S service php7.2-fpm reload' alias phprestart='echo "" | sudo -S...

Purge Cloudflare Cache

CloudFlare is a great service, but their rather agressive caching can be confusing during development. However there is a way to purge the cache thru their API. To set this...