[0:00] Hello guys. So Laravel 13 is officially [0:02] released as every year they release a [0:05] new major version every March. So what's [0:08] inside? In this video I will show you [0:10] not that many new features to be honest [0:12] but we will try it out in action. So [0:15] first when you run Laravel new you will [0:17] not see much different things except for [0:21] downloading Laravel version 13.0 zero [0:25] and maybe a few versions of underlying [0:27] packages are upgraded. All the other [0:30] installation is pretty much as it was [0:34] except for one thing, the ordering of [0:37] Laravel boost. Do you see when it was [0:40] triggered? So boost was upgraded to be [0:43] triggered after the npm commands. So [0:46] this is a change not in Laravel 13 but [0:48] very recent yesterday. This is a new [0:50] version of Laravel installer which you [0:53] should upgrade anyway and keep upgrading [0:55] to receive those new features. But this [0:58] thing move boost install after [1:00] installation of node packages because [1:03] then boost can detect those packages [1:06] after they are npm installed. So now [1:09] Laravel boost will see more things for [1:12] you. It's not actually visually seen. [1:15] But just so you know, boost guidelines [1:17] are no better if it's after npm install. [1:19] And now on my homepage, I can refresh [1:22] and you can see the animation for [1:24] Laravel 13 version. So that's the [1:27] installation. Now what features are [1:29] inside and what you need to know for [1:31] that? There's a page called release [1:33] notes. Let me zoom that in and let's [1:36] scroll through that because scrolling is [1:39] enough in this case. There are not that [1:41] many new features, no breaking changes, [1:45] which reminded me of a video on Laravel [1:47] 12 I shot a year ago, no new features, [1:50] and I called it the boring version. And [1:53] this thumbnail was I was in Egypt at [1:56] that time. So, I shot this picture to [1:58] specifically express that it's a boring [2:00] version, but in a good way. So Laravel [2:04] 13 continues that tradition of being [2:06] stable which is also very good for AI [2:09] agents which are trained on Laravel [2:12] versions before Laravel 13. So new [2:15] version will not add much for AI agentic [2:18] changes. But if we scroll through that [2:20] release notes what do we see? First [2:23] important thing is minimum PHP version [2:26] 8.3 now. So for Laravel 12 it was 8.2 2. [2:30] Now it's bumped to 8.3 which you should [2:33] upgrade anyway again because of life [2:35] cycle of PHP language. And also another [2:39] important thing that Laravel 11 doesn't [2:42] get security fixes anymore. So if you [2:44] care about security fixes and you're [2:46] still on Laravel 11, you probably should [2:48] upgrade especially since the upgrade [2:51] isn't that big at all. In fact, now [2:53] let's try to upgrade. So in the official [2:56] tweet there's this new thing. So I will [2:59] open Laravel 12 project and run upgrade [3:01] from Laravel boost and let's see what [3:03] happens. So here's a project I installed [3:05] earlier today this morning on Laravel [3:08] framework 12 at the time for AI related [3:11] video and this is basically just the [3:12] starter kit and let's open cloud code [3:15] and let's try upgrade. Well no the [3:18] default upgrade seems to be related to [3:20] cloud code not that one. Laravel boost [3:24] upgrade seems to be only for LiveWire 4. [3:28] Maybe I need to upgrade Laravel boost as [3:30] well. So let's do composer update on [3:32] that project and let's see if Boost new [3:35] version comes up. And yeah, as expected, [3:38] Boost 2.3.4, [3:40] which was released 50 minutes ago and [3:43] unrelated, but here's the one 2.3.2. I [3:48] think that's the one. Add upgrade [3:49] Laravel prompt. Actually, let's read [3:52] what's inside. Right. So, it's following [3:54] live wire upgrade prompts. Let's try [3:57] again. So, I will launch cloud code [3:59] fresh and then let's see upgrade. Yep, [4:03] now we have it. Laravel boost upgrade [4:05] Laravel version 13. What is happening? [4:09] Is it just that agent will upgrade and I [4:12] don't need to check anything else? So, [4:15] did they actually kill Laravel shift in [4:17] a way? Let's see. Actually, this is [4:19] another topic for another video. I [4:21] should probably compare this to Laravel [4:24] shift update and see what happens. But [4:26] for now, let's see if it actually works [4:28] and what else we need to do. Code bases [4:31] clean. So just composer JSON update here [4:35] with tinker update to version three and [4:38] something else was str snake session. [4:43] This is kind of a small thing. [4:44] Serializable classes and yeah that's it. [4:48] Upgrade complete. Summary of changes [4:50] since it was just starter kit as the [4:53] agent says no application code changes [4:56] were needed. Out of curiosity let's see [4:58] what's inside. What is the prompt behind [5:00] that? So here's the prompt. Laravel 12 [5:03] to13 upgrade specialist upgrade process. [5:07] This is actually pretty big. So I will [5:09] not read it in this video but you get [5:11] the idea. You upgrade boost and then [5:14] launch upgrade command with your AI [5:17] agent. And if you try let me know in the [5:19] comments. Did it work for you? And now [5:21] finally let's finish reading the release [5:22] notes of Laravel 13. Minimal breaking [5:25] changes as I mentioned already. And [5:28] actually I talked to Taylor Otwell at [5:30] Laracon EU and India before about [5:32] Laravel 13 and he just confirmed that [5:35] Laravel 13 will be official release of [5:38] some of the things that were even in [5:40] Laravel 12. So for example, Laravel AI [5:42] SDK becomes stable with Laravel 13. But [5:46] I covered Laravel AI SDK previously on [5:49] this channel and separately I have a [5:51] course on Laravel daily AI SDK 6 [5:54] practical examples and I will probably [5:56] upgrade it in 2026 later with more [5:59] examples but that AI SDK isn't actually [6:02] new. Also JSON API resources it's not [6:06] also a new thing on my channel. I [6:09] covered that they were released actually [6:11] in version 12.45 45 a few months ago, [6:14] but they were released pretty silently [6:16] without fancy announcements. So now they [6:18] are kind of officially out in the wild. [6:21] Then a few small things, expanded PHP [6:24] attributes. This is probably the most [6:27] significant visual change. So in many [6:30] more places you may see something like [6:32] this. So middleware authorize and other [6:36] PHP attributes. I probably will shoot a [6:39] separate video about them in action. But [6:41] in the documentation here, you may see [6:43] just a few of examples and also I had a [6:46] few more examples in my article after [6:48] Laracon EU where Taylor showed PHP [6:51] attributes. So I will link that article [6:53] as well in the description below. Then [6:56] if we scroll down the release notes, [6:58] some minor things. Semantic vector [7:01] search. This is also pretty big, but it [7:03] was also released in Laravel 12 for [7:06] posgrql. You can now use vector search [7:09] which is powering AIS SDK. So now we can [7:12] use something like where vector similar [7:15] 2. And look at that, we're done here. [7:18] Basically, there's nothing else that you [7:21] need to know about Laravel 13. That's [7:23] it. Boring version. stable version, good [7:26] version. There are actually a few more [7:28] things that Taylor promised related to [7:31] starter kits with Laravel 13 about teams [7:34] in starter kits and pass keys in starter [7:36] kits, but those will be separate topics. [7:38] For now, I don't see them released yet. [7:41] So maybe they come out later and I will [7:43] have separate videos on those as well as [7:47] upgrade versus Laravel shift. I'm [7:49] personally interested how it works now [7:52] and if I see anything else comes up [7:53] related to Laravel 13 or new starter [7:56] kits or something like that of course as [7:58] always I will cover that on this [8:00] channel. So subscribe to not miss any [8:02] other videos and also you may subscribe [8:04] to a newsletter mailchip newsletter that [8:06] I've been sending for I don't know many [8:09] years now 10 12 I stopped counting so [8:12] basically every Thursday I summarize [8:14] what happened in Laravel ecosystem [8:16] including the tweets now I have a [8:18] separate page community tweets so I will [8:21] also send those as a part of weekly [8:23] newsletter so if you're not on Twitter [8:25] or if you are but you cannot keep up [8:28] which is totally understandable [8:30] Then of course also subscribe to that [8:32] newsletter. Absolutely free, no [8:34] membership required. So yeah guys, what [8:36] do you think about Laravel 13? Did I [8:38] miss any details? We can discuss as [8:40] always in the comments below. That's it [8:42] for this time and see you guys in other