• Makers Make by SaaSykit
  • Posts
  • Laravel 12.29-31, Laravel MCP, How to Use AI Without Becoming Stupid, What kills motivation, Why The Future Of SaaS Is Eat Or Be Eaten & more

Laravel 12.29-31, Laravel MCP, How to Use AI Without Becoming Stupid, What kills motivation, Why The Future Of SaaS Is Eat Or Be Eaten & more

Hey Makers 👋

Laravel keeps charging ahead with three fresh releases: 12.29, 12.30, and 12.31, bringing handy new features and improvements for developers. 🚀

On our side, SaaSykit just leveled up with support for one-time password (OTP) logins. Alongside traditional and social login options, you can now enable OTP authentication with a simple switch from the admin panel. 🎉

With the latest tools in your hands, there’s no better moment to start building. If your SaaS idea has been waiting in the wings, SaaSykit makes it easier than ever to bring it to life.

Let’s dive into the updates! 👇

Laravel 12.29-31 updates

  • New Local Debug Page
    Laravel 12.29 introduces a redesigned local exception page, which automatically switches between light/dark mode based on system preferences.

  • Cache Session Driver
    A new cache-backed session driver has been added. This allows advanced use cases like sticky database connections across requests.

class StickyConnection
{
    public function handle(Request $request, Closure $next)
    {
        // If session is available, check sticky expiry
        $expiry = $request->session()?->cache()->get('sticky_until');

        if ($expiry?->isFuture()) {
            DB::connection('pgsql')->useWriteConnectionWhenReading();
            Context::addHidden('sticky_until', $expiry);
        }

        $response = $next($request);

        // If something was modified, keep the connection sticky for 10s
        if (DB::connection('pgsql')->hasModifiedRecords()) {
            $request->session()->cache()->remember('sticky_until', 10);
        }

        return $response;
    }
}
  • UseResource & UseResourceCollection Attributes
    You can now attach resource classes directly on models using PHP attributes.

// before
$user->toResource(UserResource::class);
$users->toResourceCollection(UserCollection::class);

// after
#[UseResource(UserResource::class)]
#[UseResourceCollection(UserCollection::class)]
class User extends Model {}

$user->toResource();  
$users->toResourceCollection();
  • schedule:list JSON Output
    The php artisan schedule:list command now supports a --json flag, making it easier to integrate with monitoring tools.

php artisan schedule:list --json | jq '.[] | select(.command | contains("backup"))'

Sample JSON output:

{
  "expression": "0 0 * * *",
  "command": "php artisan backup:run",
  "description": "Daily backup",
  "next_due_date": "2025-09-15 00:00:00 +00:00",
  "timezone": "UTC"
}

From the Community

The Laravel team launched a public beta of Laravel MCP, a package to rapidly build Model Context Protocol (MCP) servers for your Laravel applications. Laravel MCP joins Laravel Boost as a first-party tool that makes working with AI in Laravel a joy build.

The wire:click.prevent directive stops default browser behavior while executing Livewire component methods. This modifier prevents form submissions and link navigation from reloading the page during user interactions.

With Tempest 2 comes a pretty significant change to how database migrations work. Luckily, the upgrade process is automated. I thought it would be interesting to explain why we made this change, though.

Laravel’s Service Container is the quiet engine that wires your app together. It handles Dependency Injection, auto‑wiring, and the little decisions that make big apps feel simple. In this article, we’ll demystify how it resolves classes, how to register bindings the right way, how to pick different implementations per context, and how to test and debug your application with confidence.

Maintaining component data across page refreshes becomes straightforward with Livewire's session properties. This feature stores component state in the user's session automatically, eliminating the need for manual session handling.

I did not see how powerful MCP was until I used Claude Code with the Playwright MCP. Playwright MCP lets an AI use a real browser. It can open a page, click buttons, fill forms, and take screenshots. I asked Claude to audit my site for SEO. It ran checks in a real browser, gave me the results, and sent screenshots. You can read more about how I use Claude Code for doing SEO audits. That was when I saw it. This was not just text prediction. This was an AI that can see and work with the web like a human tester.

Laravel 12.29 introduces a handy new feature called Session Cache, making it easier than ever to cache user-specific data that only needs to live as long as the user’s session.

A few weeks ago, we massively improved the performance of the dashboard & website by optimizing some of our SQL queries. In this post, we'll share how we identified the queries that needed work. In the next post, we'll explore how we fixed each of them.

I really like Laravel feature tests. They're a great way to test a feature from the perspective of someone using your site, but without spinning up Dusk and a browser.

One area I see developers struggle with testing is events and listeners. How much of that code should be tested in the feature test?

All about SaaS

“Maybe, working hard doesn’t lead to burnout, but the lack of hope leads to burnout.

If you're working really hard for something that you don't believe will pay off, it's easy to lose motivation. But if you believe that the thing you're working on will have a payoff, the amount of work almost doesn’t matter.”

How long & how quickly can a business compound ?

This is a question every investor asks of every business, public or private.

In the 2010s, Slack & Atlassian became titans. On the day Salesforce announced its intent to acquire Slack, it was equally valuable to Atlassian at ~$27b.

A young entrepreneur in his mid-20s just emailed me asking for some advice.

He just sold a business and ended up with a couple million in liquid cash. He wanted to know if he should invest it, use it to build a new company, or do something else with it.

My advice wasn't what he was expecting.

I just said don't lose it. Do nothing with it. Put it in the bank. Something safe, earning a little, but not too much that it's at risk.

In 2020, the entire Boom team worked extraordinarily hard to get XB-1 ready for its October 7th public rollout. Many worked six to seven day weeks, twelve hours a day. People skipped vacations, missed kids’ birthdays and went all-in to get XB-1 into beautiful shape for her debut.

It’s 2030. You open your laptop and check on your power company. You see that your Land Management Agent has approved five Letters of Intent (LOIs) that the Siting Agent drafted overnight. You watch in real time as two interconnection filings are submitted, with high-fidelity design attachments, by the Power Agent. There’s a request to approve the deployment of in-field robots to build a power plant, which you push back because your Permitting Agent has flagged that the necessary clearances are not yet in place. At a different site, a drone completes its site circuit and sends data to the Environmental Agent, which adds it to the Phase I environmental report. You go for lunch.

Continue the article

“I’ve been saying this for a while, but the leverage in the system is insane,” Naval begins. “Leverage is a force-multiplier for your work. The oldest form of leverage is labor (you have people working with you or for you). Then it was capital (you’re investing money behind a problem). Then it was media (you’re writing a book and people are listening to you and your words are moving many people to do things)… Then code came along. Code is this incredible, permissionless form of leverage where you have robots and data centers cranking away for you. And now the leverage is increasing through AI, agents, robots, supply chains, 3D printing, and all the things you can do to amplify your work.”

This essay will introduce a rule for AI use that should prevent a whole host of bad outcomes. More importantly, the rule is built on top of some smart philosophy, which means it is carefully selected to be invariant — that is, it shouldn’t change until we get to Artificial General Intelligence (AGI).

When SaaS first came onto the scene, it was transformative for the software industry because it shifted how software was sold, delivered and priced. The era of licenses and maintenance ended. The software companies that did not adapt ceased to exist. This dynamic has been relatively unchanged and unchallenged for more than two decades.


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.