Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


Just like stylesheets and Javascript files, requesting a webfont can be postponed or done asynchronously. Doing so will make your pages render more quickly, esp...

barryvanveen.nl

Lazyloading Javascript
To improve the speed of your website you can lazyload Javascript, CSS and images. This means that you first load all essential elements of the page and only aft...

barryvanveen.nl

Critical path CSS
Critical path CSS is the minimal amount of CSS that you need to render (part of) your website. By inlining this in the of your website you can defer load...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Optimizing the speed of your websites is interesting from multiple viewpoints. First and foremost it's good for your visitors: nobody likes waiting. That's prob...
It is usually a good idea to cache your CSS and JS files as long as possible. This way you save requests and your website will load faster. But how do you make...
If you have used PurgeCSS before, you know it is really good at removing unused css styles. This is great, but you immediately start running into another proble...
I've been writing an artisan command to import data from a remote MySQL database. I can only connect to that database over an SSH connection using an SSH key. H...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Here is a short blog for a problem I ran into this evening. I was testing a new endpoint that returns some user data in JSON format. Once every while the test w...
Every time I've updated Laravel Homestead or started a new environment, I've had problems running Laravel Dusk. These are solutions for the most common problems...
Now that 2019 comes to an end, it is time to reflect and make plans for the new year. All in all 2019 was a very turbulent year for me.
The last article was all about the command bus, a specific type of service bus. Now, let's take a step back and look at some other service buses. What similarit...
Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
One of the things I really love about Laravel is how easy it is to customize it to your own wishes. Recently I was working on a model that used a standard auto-...
At the end of last year, this blog was migrated to a new server, hosted by DigitalOcean. The old server ran on Apache but on the new server I wanted to try out...
This article explains the basic concepts of the command bus. Why should you use it and how? Pointers are given to advanced use cases and good resources. A comma...
Private PHP packages can be installed using Composer. We need a little extra configuration in the composer.json file and then we setup our SSH key. Follow along...