• Makers Make by SaaSykit
  • Posts
  • Laravel 12.34-35, What's New in PHP 8.5, Avoid Open Redirects, Only 100 Metrics Matter, The AI Growth Endurance Problem & more

Laravel 12.34-35, What's New in PHP 8.5, Avoid Open Redirects, Only 100 Metrics Matter, The AI Growth Endurance Problem & more

Hey Makers 👋

It’s been an exciting 2 weeks in the world of Laravel and SaaS building (as always)! ⚡️ New updates just landed that make development smoother and more fun, from smarter queues to HTTP batching and many handy little features that save you time.

If you’ve been sitting on an idea, this is your reminder: start building it. Every great product begins with that first commit. 💡

Grab your SaaSykit license and start building your dream SaaS app today. 💡

That said, let’s dive into what’s new and keep the maker energy rolling! 👇

Laravel 12.34-35 updates

  • Failover Queue Driver
    Laravel now includes a failover queue driver that automatically switches to a backup connection if the main one fails.

'failover' => [
    'driver' => 'failover',
    'connections' => [
        env('QUEUE_CONNECTION', 'redis'),
        'sync',
    ],
],

Useful for keeping your job processing reliable even when one queue connection goes down.

  • Failover Cache Driver
    Similar to queues, a failover cache driver has been added. It tries alternative cache stores if the primary one fails.

'failover' => [
    'driver' => 'failover',
    'stores' => [
        'redis',
        'array',
    ],
],
// Simply set your cache driver to failover in .env:

CACHE_STORE=failover
  • Full-Text Improvements in Laravel Scout
    When using the database engine in Laravel Scout with PostgreSQL, search results are now automatically sorted by relevancy (like MySQL) when no other ordering is defined.

  • Closure Support for throw_if()
    You can now pass a closure as the exception parameter in throw_if().

  • The closure only runs if the condition is true, improving performance and readability:

throw_if($response->failed(), fn() => new Exception('Request failed.'));
  • HTTP Batch defer() Method
    The HTTP client’s batch feature now includes a defer() method, letting you queue up multiple requests to execute later.

Http::batch(fn ($batch) => [
    $batch->get('https://api.site.com/a'),
    $batch->get('https://api.site.com/b'),
])->defer();
  • Deferred Queue
    A new deferred queue driver lets you run jobs after the HTTP response has been sent — perfect for tasks that don’t need to block user requests.

SendInvoice::dispatch($order)->onConnection('deferred');

From SaaSykit

Starting a new Laravel project always feels great, a blank canvas, clean code, and the freedom to build things the right way this time. But that early excitement can quickly fade if you skip the groundwork. The decisions you make at the very beginning often decide whether your app stays maintainable or turns into a mess a few months down the road.

From the Community

PHP 8.5 will be released next month on November 20th, 2025, and will feature the Pipe operator, a new URI extension, new array_first() and array_last() functions, and more.

For one reason or another, Laravel Facades don't get much love. I often read about how they are not a true facade implementation, and let me tell you, they're not 🤷. They're more like proxies than facades. If you think about it, they simply forward calls to their respective classes, effectively intercepting the request. When you start looking at them this way, you realize that facades, when used correctly, can result in a clean and testable code. So, don't get too caught up in the naming, I mean who cares what they are called? And let's see how we can make use of them.

In most cases, PHP-FPM settings aren't something an average developer would be in a position to examine more closely. That's ok; not everyone wants or has to spend time dealing with that kind of adjustment on the server. 

Besides that, these days there are managed third-party solutions (Laravel Forge, Ploi.io, etc.) that can spin up a server for you, install all of the dependencies, including the PHP-FPM, and you just have to worry about deploying your code from their dashboard.

At times, your project may require you to develop an API backend that can be consumed by both a single-page application (SPA) and a mobile application. Laravel Sanctum comes in handy. Laravel Sanctum is a first-party authentication package that provides a lightweight authentication system for single-page applications (SPAs), mobile applications, and simple token-based APIs. When using token-based authentication, Sanctum eliminates the complexity of OAuth without compromising security.

Conditions are an integral part of any codebase. Without being able to conditionally execute code (using things such as if and else), our software would be extremely limited in what it could do. In fact, they're pretty much one of the first things you learn when you start programming.

An Open Redirect vulnerability is where an attacker can trick the server into redirecting the victim somewhere specific, usually somewhere completely unrelated to the site the vulnerability is on. They are used to mask the final destination of a URL, so if the victim looks at the malicious open redirect link, all they see is a safe domain name at the beginning, not the real domain hiding at the end.

What is the Laravel failover queue driver? It’s a queue driver named failover and available starting in Laravel 12.34. First, list your queue connections in order in config/queues.php. Then, when you push a job, Laravel tries the first one. If it fails, it automatically tries the next one and so on.

Your Laravel application is bombarded with invalid requests. They're made from all sorts of bots. Most probe for attack vectors. Common website endpoints to exploit. Things like /wp-admin/, login.php, or .env.

For the most part, your web server simply returns a 404 Not Found. But it still processes the request. Depending on how popular your site is, you may receive dozens or even hundreds of these requests a second.

Laravel is a very performant framework, but a standard architecture has one big flaw derived from how PHP works: It has to rebuild the entire framework on every single request.

Even with optimizations, this process still takes 40 to 60 ms on my machine with PHP 8.4. Luckily, for years, the PHP and Laravel worlds have had a solution that dramatically reduces this load time: Laravel Octane and FrankenPHP. The booting time for the Laravel framework can drop to just 4 to 6 ms per request. Incredible, isn't it?

All about SaaS

We track everything.

Every click, scroll, impression, and event. Every field in every table.

That’s fine. Logging is cheap. We also need them when we need to understand rare phenomena.

But attention isn’t.

Most of what we track never helps us make better decisions.

The truth is simple:

Only about 100 metrics really matter.

Imagine this…

You're organizing an upcoming office party with your colleagues Jessica and Tom.

Jessica offers to help with food, saying, "I'll bring dessert for everyone next week! Don't worry about it—I've got this covered."

You thank her, genuinely relieved that one major item has been checked off your to-do list.

One of my favorite business quotes comes from an unlikely source: Dolly Parton.

Yes, that Dolly Parton. Here’s her quote:

“Find out who you are and then do it on purpose.”

First of all, if you’re looking for a recipe for living an authentic life… that’s it.

But that single sentence might also be the best advice there is for building a strong business, strategy, and culture.

Few days ago, WSJ reported that Thinking Machines Lab (TML) Co-Founder Andrew Tulloch left the startup that has just raised a $2bn Seed on $10bn valuation, to re-join Meta’s AI lab for a package of up to $1.5bn (!)

The story of top AI startup founders getting poached by big tech has become a pattern. Scale AI, Windsurf, Adept, Inflection AI… the list goes on - and the mechanism behind it seems the new way of M&A in the era of AI.

The top quartile AI companies are growing much faster than T2D3 (triple, triple, double, double, double). And since the VC model is built on achieving outlier returns, VCs will seek out the new benchmark for the fastest growing companies.

Continue the article


Videos

Keep building, keep rocking! 🤘

Psst, are you building a SaaS?

SaaSykit is a multi-tenancy Laravel-based boilerplate with everything you need to build an awesome SaaS.