Explaining the code on the "Go with PHP" website
Mohamed write a nice post featuring a lot of good tips on how to make your code readable.
Read more [themsaid.com]
Posts tagged with php
Mohamed write a nice post featuring a lot of good tips on how to make your code readable.
Read more [themsaid.com]
– tighten.com - submitted by Jamison Valenta
In this post, Andrew presents several patterns in polymorphic database relationships in Laravel that allow us to eliminate conditionals.
Read more [tighten.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
Scary stuff, but handled very well by the Packagist team.
Read more [blog.packagist.com]
– www.youtube.com - submitted by Bert De Swaef
The entire playlist of our Laravel for Beginners course. You'll learn about model, controllers, factories, seeders, relations and many more.
Read more [www.youtube.com]
Learn how to automatically clear Ray's screen when running a test
Read more [myray.app]
– blog.oussama-mater.me - submitted by Oussama Mater
This article shows how to implement real-time notifications using Server-Sent Events instead of WebSockets or Long Polling.
Read more [blog.oussama-mater.me]
– fly.io - submitted by Chris Fidao
Use Laravel's new Process facade while avoiding issues related to processing stdout vs stderr output, environment variables, and PHP security settings.
Read more [fly.io]
– arunas.dev - submitted by Arunas
If you have jobs and listeners being fired within database transactions, it can lead to data inconsistencies if the transaction rolls back. Learn how to properly handle them here.
Read more [arunas.dev]
We've released a new major version of our Laravel Analytics package. The most important new feature of this release is the support for GA4.
– www.conroyp.com - submitted by Paul Conroy
Rolling averages are a great tool for smoothing out noisy data, helping you to more easily spot long-term trends. This new package adds first-class support to Laravel Collections for rolling average calculations.
Read more [www.conroyp.com]
In this blog post, I'd like to show the easiest way to skip tests conditionally in tests. Using the simple technique, which can be used for other things besides skipping tests, you can make your tests much more flexible.
Focus on writing code that solves real problems, is well-tested, and is easy to maintain.
Read more [localheinz.com]
Let's take a look how we can extend Var Dumper to dump our objects, or some vendor objects, in a more readable way.
Read more [jolicode.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
In this post, Ryan demonstrates how to use FFI and a lower-level language such as Rust to improve the performance of a critical path.
Read more [ryangjchandler.co.uk]
This feature is high on my wishlist.
Read more [sebastiandedeyne.com]
When looking at recent changes in the Laravel framework, I saw some PHP syntax that I didn't see before. Because I've been working with PHP for over 20 years and have a firm grasp of the language, I was surprised to see new syntax for the first time.
– harrk.dev - submitted by Harry Kirkman
In this article we will look at creating beautiful QR codes in Laravel 10, using the simple-qrcode package. With various use-cases and examples.
Read more [harrk.dev]
A nice tip by my colleague Seb
Read more [sebastiandedeyne.com]
The release of Pest v2 is right around the corner. Pest creator Nuno Maduro and the rest of the Pest team are currently working hard improving the docs ahead of the Pest v2 release somewhere later this month.
In this blog post, I'd like to share the free videos I've created for each of the amazing features.
I'm sure Tomas is going to do some cool stuff for the Laravel community.
Read more [tomasvotruba.com]