Latest Laravel/PHP Articles

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


Fzaninotto/Faker is a package for generating all sorts of random data. This tip shows you how you can use it to generate unique data for usage in tests. With th...
The relatively unknown @each function in a very powerful way to loop over data in Laravel Blade templates. It is powerful and much more elegant than @foreach. S...
Consider the scenario where you’re working on a Git branch called featureB and you have a lot of unstaged files in this branch. Now, for some reason, you don’t...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Well, this one blew my mind completely when I got to know about it. So, you probably are aware of the fact that the tag is used for displaying images on website...
Linux ships with a useful command named du (Disk Usage), which is used to determine the size of files and directories. When provisioning your server, Forge inst...
Code coverage is the measure of how many lines of code your tests have covered. It is expressed as a percentage of the total lines of code in your project. Beca...
Recently I was investigating the performance of an application we have built at SWIS. To my surprise, one of the most costly methods was part of the excellent s...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
https://docs.soketi.app is a simple, fast, and resilient open-source WebSocket server written in Typescript. In this blog post we're going to learn how to deplo...
Another year has gone by. Even though 2020 was a bad year in many aspects, I was feeling kind of good. Last year had some good things, things I enjoyed...
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....
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.

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