<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/laravel-13-php-8-3-required-native-attributes-ai-sdk-and-vector-search-nhkwqwlui" -->

---
title: Laravel 13: PHP 8.3 required, native Attributes, AI SDK,...
description: Laravel 13 is released with PHP 8.3 as the minimum requirement. The headline feature is 36 new native PHP attributes covering Eloquent models, queue jobs,...
canonical: https://daily.dev/posts/laravel-13-php-8-3-required-native-attributes-ai-sdk-and-vector-search-nhkwqwlui
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Laravel 13: PHP 8.3 required, native Attributes, AI SDK, and vector search | daily.dev
og:description: Laravel 13 is released with PHP 8.3 as the minimum requirement. The headline feature is 36 new native PHP attributes covering Eloquent models, queue jobs,...
og:url: https://daily.dev/posts/laravel-13-php-8-3-required-native-attributes-ai-sdk-and-vector-search-nhkwqwlui
og:image: https://api.daily.dev/og/posts/nHKWQwLUI.png
og:image:alt: Laravel 13: PHP 8.3 required, native Attributes, AI SDK, and vector search
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Laravel 13: PHP 8.3 required, native Attributes, AI SDK, and vector search

**[Collections](https://daily.dev/sources/collections)** · 3 min read · 19 upvotes · 0 comments

## Summary

Laravel 13 is released with PHP 8.3 as the minimum requirement. The headline feature is 36 new native PHP attributes covering Eloquent models, queue jobs, Artisan commands, and routing — usable as an opt-in alternative to traditional class properties. The first-party AI SDK (text generation, tool-calling, embeddings, vector store) is now officially stable, as is native JSON:API resource support. New additions include semantic/vector search via pgvector for PostgreSQL, centralized queue routing with Queue::route(), and Cache::touch() for TTL extension. The Laravel Boost installer also gains an AI-assisted upgrade command as an alternative to Laravel Shift. Laravel 11 loses security fix support with this release.

## Content

Laravel 13 is out, and it follows the framework's usual pattern: minimal breaking changes, a handful of genuinely useful additions, and a bumped minimum PHP version. This time that means PHP 8.3 or higher.

## PHP version and support timeline

PHP 8.3 is now the floor. Laravel 11 also loses security fix support with this release, so if you're still on 11, now's a good time to plan a move. Laravel 13 itself gets bug fixes through Q3 2027 and security updates through Q1 2028.

## 36 PHP attributes

This is the headline feature. Laravel 13 adds 36 native PHP attributes as an optional alternative to traditional class properties. They cover a lot of ground:

- **Eloquent models** - `fillable`, `hidden`, `guarded`, and related settings
- **Queue jobs** - `tries`, `timeout`, `backoff`
- **Artisan commands** - command signatures
- **Routing** - middleware and controller authorization

The new default `User` model in Laravel 13 starter kits uses these attributes out of the box. That said, traditional class properties still work fine - this is opt-in, not a replacement.

Some attributes existed before 13 (`ObservedBy`, `ScopedBy`, `UseFactory`), but the new release expands coverage to 15+ framework locations.

## Laravel AI SDK

Laravel 13 ships a first-party AI SDK. It handles text generation, tool-calling agents, embeddings, and vector-store integrations. This was available in Laravel 12 but is now officially stable.

## JSON:API resources

Native JSON:API resource support is also now stable in 13, having been introduced in 12. If you're building APIs that need to conform to the JSON:API spec, this is now a first-class option rather than a third-party package.

## Semantic and vector search

Laravel 13 adds semantic/vector search support with pgvector integration for PostgreSQL. Useful if you're building search features on top of embeddings from the AI SDK.

## Queue routing and cache improvements

Two smaller but handy additions:

- `Queue::route()` centralizes queue routing logic rather than scattering it across individual jobs
- `Cache::touch()` lets you extend a cache entry's TTL without fetching the value first

## Upgrade tooling

The Laravel Boost installer now runs after npm commands for better package detection. There's also an AI-assisted upgrade command in Boost that can handle version migrations - early impressions suggest it's a credible alternative to Laravel Shift for straightforward upgrades.

## What's still coming

Teams and passkeys support in starter kits were mentioned but aren't in this release yet.

---

Overall, Laravel 13 is a solid incremental release. The attributes system is the most interesting addition for day-to-day development, and the AI SDK stabilization makes it easier to build LLM-backed features without reaching for third-party packages.

## Similar posts on daily.dev

- [What We Know About Laravel 13](https://daily.dev/posts/what-we-know-about-laravel-13-noeen07cu) · Laravel News · 95 upvotes · 1 comments

---

Tags: [#ai-sdk](https://daily.dev/tags/ai-sdk), [#laravel](https://daily.dev/tags/laravel), [#pgvector](https://daily.dev/tags/pgvector), [#php](https://daily.dev/tags/php), [#vector-search](https://daily.dev/tags/vector-search)

[View this post on daily.dev](https://daily.dev/posts/laravel-13-php-8-3-required-native-attributes-ai-sdk-and-vector-search-nhkwqwlui)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Laravel 13: PHP 8.3 required, native Attributes, AI SDK, and vector search","url":"https://daily.dev/posts/laravel-13-php-8-3-required-native-attributes-ai-sdk-and-vector-search-nhkwqwlui","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/laravel-13-php-8-3-required-native-attributes-ai-sdk-and-vector-search-nhkwqwlui"},"datePublished":"2026-03-18T06:21:16.986Z","dateModified":"2026-07-30T02:12:47.316Z","description":"Laravel 13 is released with PHP 8.3 as the minimum requirement. The headline feature is 36 new native PHP attributes covering Eloquent models, queue jobs,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ac6b1bf367a2489eb090e09901f5549f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ac6b1bf367a2489eb090e09901f5549f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/laravel-13-php-8-3-required-native-attributes-ai-sdk-and-vector-search-nhkwqwlui","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":19},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-sdk,laravel,pgvector,php,vector-search","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Laravel 13: PHP 8.3 required, native Attributes, AI SDK, and vector search"}]}
```

