Latest Laravel/PHP Articles

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


Updating npm dependencies isn’t a big task, but sometimes it can be more complicated depending on our needs. To understand the package updating mechanism, first...
You would reach for the https://git-scm.com/docs/git-log command when you want to take a look at the list of commits for the Git repository you’re currently in....

nunomaduro.com

A Recap Of 2021
So, today, decided to write down some 2021 highlights of mine. At the personal level, in January - 2021, I've finally moved to Portugal. It's been 1 ye...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
In an ironic twist, I’d started writing this year in review at beginning of December. It’s been a bit of a wild ride since then with the https://en.wikipedia.or...
When you’re working with images on your website, it would be good if you can provide some sort of image magnification to your users when clicked/tapped/hovered...

ryangjchandler.co.uk

2021: A year in review
I wrote about saving for a deposit in last year's review. That deposit was eventually used after securing a mortgage and purchasing our first house. I'...
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...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.

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...
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...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
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...
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...