[0:00] Laravel 13 is due out next month, [0:04] so just around the corner. [0:06] Today, let's talk about some of [0:08] the new features that [0:09] are coming to Laravel 13. [0:11] So far, not much has actually been said. [0:16] The reason why is because I feel [0:18] like Laravel has been [0:19] focused on all these other areas, [0:21] so the framework really [0:22] hasn't needed to change much. [0:24] We've got the Laravel AI SDK, [0:27] the Laravel Boost, Laravel MCP. [0:30] We've got all these new tools that are [0:33] not technically part of the framework, [0:36] so they've been built [0:38] and they're awesome, [0:40] but they're on their own [0:41] repos and everything else. [0:43] So the framework itself, [0:45] now version 13 is pretty stable, [0:48] so it's not needing a ton of changes. [0:52] Laravel 13 is going to be [0:55] a basic upgrade, I believe, [0:58] but it's not due out till next month, [1:00] so there's still time [1:01] for stuff to change, [1:02] so who knows what's going to happen. [1:04] But as of today, [1:05] let's go through and look [1:07] at everything we know so far. [1:09] So first up, the big [1:12] feature is PHP Attribute Support. [1:16] Taylor made a tweet about this, [1:18] and one of the important things [1:21] is it's non-breaking. [1:23] So you're not going to [1:25] have to do anything here, [1:26] but you'll have those features [1:29] in Laravel 13, which is nice. [1:32] What's cool though is if [1:33] you look at the examples, [1:34] eloquent models, you [1:35] can define the table, [1:37] the hidden, the fillable, [1:38] all that right as attributes, [1:41] versus the way we do [1:42] it now as properties. [1:46] Here is the available model attributes, [1:49] there's a whole bunch of them. [1:50] But it doesn't end with eloquent, [1:52] it works off of queue [1:53] jobs, console commands, [1:56] and it says other [1:58] components, form request, [2:01] API resources, [2:02] factories, and test-seaters. [2:04] So we're getting [2:04] those kind of everywhere, [2:05] which I think is going to [2:06] be awesome as we progress [2:09] as a community and sort of [2:10] switch from those properties [2:11] over to these. [2:14] Outside of that, [2:16] a cache-touch method that [2:20] extends a cache item's time [2:22] to live without fetching [2:23] or restoring the value. [2:25] Here's some examples, extend by seconds, [2:28] you can just [2:29] cache-touch this user session [2:30] for 3,600 seconds, [2:33] you can actually [2:33] extend it with a date time, [2:36] which works off of the carbon instance, [2:39] and you can even extend it indefinitely. [2:43] So that's kind of cool. [2:45] And then the final thing, PHP 13, [2:47] I mean, Laravel 13 will require PHP 8.3 [2:50] as the minimum version, [2:52] but that is the minimum version, [2:55] but as a developer, you [2:58] should always run the latest. [3:01] You should be running up to [3:02] the latest version of PHP, [3:04] that's out, because that [3:05] gives you all the security fixes, [3:07] all the bug fixes, all the other things. [3:09] And the same way with Laravel, [3:12] some people want to run a year behind, [3:14] but of course, I always [3:15] recommend running the latest, [3:17] and not only for the bug fixes, [3:19] but any security thing, anything else, [3:22] just the latest is always [3:23] sort of the way to go with this. [3:25] So coming up next [3:27] month, I say next month, [3:29] coming up in like a week [3:30] and a half, is Laricon EU. [3:33] And Laricon News, we are [3:35] gonna be an official partner [3:37] of Laricon EU 2026, [3:39] and we're actually gonna [3:39] run the live stream live [3:41] on the Laricon News website. [3:43] So we have a little [3:44] registration page here, [3:46] it's larvel-news.com slash laricon-eu. [3:53] And the only, it's free, [3:55] but we have the register up, [3:57] that way you can throw your email in, [3:59] and I'm gonna email you next [4:00] week when I get the page live, [4:02] that way I'll send you the [4:03] link to the location of it, [4:06] so you can go watch it. [4:07] Of course, you don't have to [4:08] do this, it doesn't matter. [4:09] We'll have a big banner on the website, [4:12] the day of the event [4:13] with a link over to it. [4:17] But from there, as part of the schedule, [4:20] the first day, the last talk is Taylor [4:23] giving a Larvel update, [4:25] and he will go through, [4:27] you know, some of the Larvel 13 stuff, [4:29] but also some of the other new stuff [4:31] that they've been working on. [4:32] So you'll definitely [4:32] wanna tune into that. [4:34] I think it's gonna be great. [4:35] Again, this is coming, what is the dates? [4:38] This is coming next week, [4:40] and I think it's March 1st [4:41] and 2nd is the actual dates. [4:45] So tune into that and get ready to [4:48] upgrade to Larvel 13. [4:51] You know, if you're dreading the upgrade, [4:52] there's always Larvel Shift. [4:55] You know, it's probably the easiest, [4:57] most straightforward [4:58] way to update Larvel. [5:00] You can just, you [5:01] know, give it your repo, [5:02] it'll send you a ton of pull [5:03] request with all the features. [5:05] The great thing though is [5:07] it actually goes through [5:09] and like those attributes, [5:13] they're a non-breaking change, [5:14] but I guarantee you Shift will go ahead [5:16] and move your code to those. [5:18] That way you're ready for, you know, [5:20] the next major version, [5:21] which will be 14 in 2027. [5:24] Go check out all that stuff. [5:25] So sign up for Laricon EU livestream, [5:27] check out Larvel Shift [5:28] and tune in to Taylor's talk [5:31] when it happens live on [5:33] the first day of Laricon EU. [5:37] So I hope you have a great day. [5:38] Get ready for this update [5:39] and we will talk to you soon.