
Laravel 13 drops March 17 — here's every new feature with code examples
Laravel 13 is 9 days away. Taylor Otwell announced it at Laracon EU 2026 and the headline is: zero breaking changes . Smoothest upgrade in Laravel's history. Here's everything that's changing, with before/after code for the features that actually matter day-to-day. PHP 8.3 is now the minimum First the housekeeping. Laravel 13 drops PHP 8.2 support. Check your version: php -v If you're on 8.2, upgrade your server before upgrading Laravel. Everything else in this list is non-breaking and optional. 1. PHP Attributes — the headline feature This is the one everyone will be talking about. Instead of declaring model config, job settings, and command signatures as class properties, you can now use native PHP #[Attribute] syntax. Models — before: class Invoice extends Model { protected $table = 'invoices' ; protected $primaryKey = 'invoice_id' ; protected $keyType = 'string' ; public $incrementing = false ; protected $fillable = [ 'amount' , 'status' , 'user_id' ]; protected $hidden = [ 'intern
Continue reading on Dev.to Webdev
Opens in a new tab


