Latest Laravel/PHP Articles

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


www.phparch.com

Cranking PHPStan to 10
Several jobs ago, when we realized that we needed a new database server, it was a complicated process.
The PHP Podcast streams the recording of this podcast live, typically every Thursday at 3PM PT. Come and join us, and subscribe to our Youtube Channel.
Testing endpoints can become time-consuming when we’re testing authorization logic alongside their behaviour. For endpoints gated by complex policies, we end up...
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.
In the past, we’ve discussed using methods to normalize our database to reduce data redundancy and decrease bugs. One downside to normalizing our database is th...
In 2011, with the release of PHP 5.4, the pseudo-type callable was introduced via the RFC: Callable. In 2016, another pseudo-type, iterable, was added in PHP 7....
Rounding numbers in PHP is simple and versatile, thanks to its built-in functions. Whether you want to round to the nearest integer, always round up, or always...
One of the more interesting features added to PHP 8.4 is the ability to create Lazy Objects. Lazy Objects allow us to defer the initialization of an object unti...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Ah, PHP. For years, it was the go-to language for web development, powering everything from tiny blog sites to giant platforms like Facebook (at least in its ea...
Laravel’s Tinker package is a powerful REPL (Read-Eval-Print Loop) tool that allows you to interact with your Laravel application from the command line. It’s a...
We're currently completely rewriting the Flare backend client packages that run on our clients' servers. The original clients were written more than six years a...
So, I was working on a feature the other day, and one of the things this page had to do was validate an email address and just like we all do, right? In Laravel...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Pipeline cleanup gets more elegant in Laravel with the new finally method. This addition simplifies how you handle post-pipeline operations, whether your pipeli...
Keeping PHP applications secure is critical, especially since 77.4% of websites using server-side programming rely on PHP. Unpatched vulnerabilities cause 60% o...
I decided to write a bit about API payload for machine-to-machine communication because during a cost optimization on our AWS infrastructure I noticed that a re...
Want to optimize your PHP application’s memory usage? The memory_get_peak_usage() function is your go-to tool for identifying peak memory consumption and improv...