Latest Laravel/PHP Articles

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


I've been tinkering with a new way of returning various response formats by introducing dedicated response objects to my Laravel web applications.
In this post I am going to run through my setup, but by no means do I believe this is the best way of doing things. This is what I've landed on after some trial...
On a project I am currently working on I ran into an issue due to the global url($asset) helper function. In my feature tests I was hitting a route that used th...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Laravel Backup is a fantastic package brought to us by the team at Spatie, and is only one of the many great packages they have in the wild.
I'm digging it. It's just a simple extension on the exists rule, but I think it is killer. When I started with Laravel, I always found it quick and easy to util...
Laravel Cashier is an "expressive, fluent interface to Stripe's subscription billing services". I have really enjoyed using Cashier on my latest project and I t...
Making sure you validate incoming request data from the user is crucial for security and ensuring your app stays in a valid state. Validating data is easy peasy...
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.
Recently I was building out a multi-tenant API using Laravel, and ran into a problem with my tests. I was getting a Lock wait timeout error on even the simplest...
Technology didn’t have to glow. […] There were devices that simply did what they were for, without demanding attention. I've always had a soft-spot for e-ink sc...
In the vast e-commerce landscape, offering a seamless payment experience is a critical aspect that can make or break the user's journey. Mollie, a prominent pay...
This post is part of a series of posts about Laravel Eloquent many to many relationships. A while ago I wrote about how to use a many to many relationship in La...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Stefan Zweifel explains how he stores user preferences in a Laravel application using spatie/laravel-data.

www.phparch.com

Software Archeology
Welcome, Ghouls and Goblins, to this month’s spooky issue of PHP Architect. Of course, anytime you’re working with code, things can get a little scary. Don’t wo...
Today, we're adding some very powerful features to both the hosted and self-hosted versions of Mailcoach: split testing (also known as A/B testing), MJML suppor...