# Eloquent ORM

Eloquent is Laravel's object-relational mapper (ORM) for interacting with databases through models that retrieve, insert, update, and delete records.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Laravel Warrant: Row-Level Permissions With Eloquent

DevFeed: [Laravel Warrant: Row-Level Permissions With Eloquent](<https://devfeed.tech/articles/laravel-warrant-row-level-permissions-with-eloquent-145240.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-warrant>)

Author: Yannick Lyn Fatt

Published: 2026-11-18T17:11:12Z

Content type: tutorial

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [authorization](<https://devfeed.tech/tags/authorization.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [filter](<https://devfeed.tech/tags/filter.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [queries](<https://devfeed.tech/tags/queries.md>), [row-level-permissions](<https://devfeed.tech/tags/row-level-permissions.md>), [sql](<https://devfeed.tech/tags/sql.md>), [warrant](<https://devfeed.tech/tags/warrant.md>)

### AI overview

Laravel Warrant lets you define row-level authorization rules once and use them both to filter Eloquent queries and authorize individual records. In the timesheet example, ownership grants viewing and updating, while a lock condition denies updates; filtering in SQL before pagination avoids totals and pages that include inaccessible rows. The package can select per-row abilities for UI decisions, but the update endpoint still needs authorization. Its Gate hook handles abilities declared in a registered schema and leaves undeclared abilities to Laravel's normal authorization flow, including policies. Warrant requires learning its rule syntax, leaves role and rule storage to the application, and is in beta, so the excerpt recommends pinning a version and checking upgrade notes. Per-row ability selection adds a predicate per requested ability; supported databases are PostgreSQL, MySQL/MariaDB, and SQLite.

### Source excerpt

Laravel Warrant compiles authorization rules into SQL. Filter Eloquent queries, check individual records, and return per-row abilities from the same rules. The post Laravel Warrant: Row-Level Permissions With Eloquent appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs

DevFeed: [Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs](<https://devfeed.tech/articles/laravel-rest-api-3-0-typed-fields-metrics-and-openapi-docs-126628.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-rest-api-3>)

Author: Eric L. Barnes

Published: 2026-11-10T13:33:18Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [REST API](<https://devfeed.tech/topics/rest-api.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [actions](<https://devfeed.tech/tags/actions.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistant](<https://devfeed.tech/tags/ai-assistant.md>), [algolia](<https://devfeed.tech/tags/algolia.md>), [api](<https://devfeed.tech/tags/api.md>), [count](<https://devfeed.tech/tags/count.md>), [counts](<https://devfeed.tech/tags/counts.md>), [docs](<https://devfeed.tech/tags/docs.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [fields](<https://devfeed.tech/tags/fields.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [metric](<https://devfeed.tech/tags/metric.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [openapi](<https://devfeed.tech/tags/openapi.md>), [package](<https://devfeed.tech/tags/package.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [scramble](<https://devfeed.tech/tags/scramble.md>)

### AI overview

Laravel Rest Api 3.0 rebuilds Eloquent-to-REST resources around typed fields: one field declaration governs type-compatible filters, write validation, response values and API documentation. It replaces built-in docs with Scramble's OpenAPI output and tests request examples against the generated document. Resource metrics gain dedicated endpoints for values, trends, partitions, progress and tables, with date ranges, time zones, prior-period comparisons, caching, and access limited to rows the user may see. Actions and writes can require confirmation: the API returns 428 with a message and signed token, then runs the same request when resubmitted with that token. Other changes include per-resource and per-row policy checks, tenant scoping, transactional nested writes, version conflict responses, and queued action batches. Version 3.0 requires PHP 8.3+ and Laravel 13.30+; Laravel 12 users should remain on 2.x. The excerpt notes breaking changes and refers to an upgrade guide.

### Source excerpt

Laravel Rest Api 3.0 rebuilds the package around typed fields, adds metric endpoints and write confirmations, and documents your API with Scramble. The post Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Search Polymorphic Relations and Filament Tables With Laravel Searchable

DevFeed: [Search Polymorphic Relations and Filament Tables With Laravel Searchable](<https://devfeed.tech/articles/search-polymorphic-relations-and-filament-tables-with-laravel-searchable-126629.md>)

Original publisher: [Read original article](<https://laravel-news.com/mozex-laravel-searchable>)

Author: Yannick Lyn Fatt

Published: 2026-11-09T22:31:59Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>)

Tags: [eloquent](<https://devfeed.tech/tags/eloquent.md>), [filament](<https://devfeed.tech/tags/filament.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [relevance](<https://devfeed.tech/tags/relevance.md>), [search](<https://devfeed.tech/tags/search.md>), [tables](<https://devfeed.tech/tags/tables.md>)

### AI overview

Mozex's Laravel Searchable trait lets Eloquent queries search configured model columns, ordinary relations, typed polymorphic relations, and certain direct BelongsTo relations on separate connections while preserving query constraints, eager loading, and pagination. For Filament tables, its integration reuses those paths and ranks matches; explicit user sorting overrides relevance sorting. Separate-connection lookups are capped at 50 matching IDs per column per term by default, and version 1.3.0 does not honor custom owner keys or extra relationship constraints in those lookups. The package uses substring LIKE searches, which may be costly at scale; deeper relation paths and external lookups receive only matched-or-unmatched ranking. The excerpt contrasts this with Cross Eloquent Search, which supports combined results across model types and native full-text search, but whose documented relevance ordering does not support relationship searches. It states version 1.3.0 requires PHP 8.2+ and Laravel ^12.69 or ^13.30; optional Filament support covers versions 4 and 5.

### Source excerpt

Laravel Searchable adds Eloquent search across polymorphic relations and separate database connections, with relevance ranking for Filament tables. The post Search Polymorphic Relations and Filament Tables With Laravel Searchable appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Prevent Duplicate File Uploads With Laravel Storage Dedupler

DevFeed: [Prevent Duplicate File Uploads With Laravel Storage Dedupler](<https://devfeed.tech/articles/prevent-duplicate-file-uploads-with-laravel-storage-dedupler-121228.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-storage-dedupler>)

Author: Yannick Lyn Fatt

Published: 2026-11-03T23:56:25Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [composer](<https://devfeed.tech/tags/composer.md>), [database](<https://devfeed.tech/tags/database.md>), [deduplication](<https://devfeed.tech/tags/deduplication.md>), [directory](<https://devfeed.tech/tags/directory.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [files](<https://devfeed.tech/tags/files.md>), [github-repository](<https://devfeed.tech/tags/github-repository.md>), [hash](<https://devfeed.tech/tags/hash.md>), [installation](<https://devfeed.tech/tags/installation.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [mit](<https://devfeed.tech/tags/mit.md>), [models](<https://devfeed.tech/tags/models.md>), [null](<https://devfeed.tech/tags/null.md>), [package](<https://devfeed.tech/tags/package.md>), [storage](<https://devfeed.tech/tags/storage.md>), [uploads](<https://devfeed.tech/tags/uploads.md>)

### AI overview

Laravel Storage Dedupler uses SHA-1 hashes to reuse stored files with matching content, even when filenames differ; the hash is also the `UniqueFile` record's primary key. Its storage methods accept uploads, local paths, or raw content and may return `null` for invalid sources or storage errors. With the `Deduplable` trait, saved Eloquent models can attach a shared file; detaching preserves it while other attachments exist, but deleting the final attachment removes the file and record by default. Installation does not alter existing Laravel storage calls or clean up existing duplicates. The legacy analysis command scans a local directory tree, reports duplicate counts and estimated space savings, and does not migrate or delete files.

### Source excerpt

Laravel Storage Dedupler uses SHA-1 hashes to prevent duplicate file storage, attach files to Eloquent models, and analyse existing directories. The post Prevent Duplicate File Uploads With Laravel Storage Dedupler appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## E-Maj 5.0.1 : Major Security Update.

DevFeed: [E-Maj 5.0.1 : Major Security Update.](<https://devfeed.tech/articles/e-maj-5-0-1-major-security-update-110070.md>)

Original publisher: [Read original article](<https://www.postgresql.org/about/news/e-maj-501-major-security-update-3425/>)

Author: Philippe Beaudoin

Published: 2026-10-31T00:00:00Z

Content type: release

Language: en

Sources: [PostgreSQL news](<https://devfeed.tech/sources/postgresql-news.md>)

Topics: [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [client](<https://devfeed.tech/tags/client.md>), [core](<https://devfeed.tech/tags/core.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [extension](<https://devfeed.tech/tags/extension.md>), [github](<https://devfeed.tech/tags/github.md>), [installation](<https://devfeed.tech/tags/installation.md>), [logging](<https://devfeed.tech/tags/logging.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [security](<https://devfeed.tech/tags/security.md>), [security-update](<https://devfeed.tech/tags/security-update.md>), [time](<https://devfeed.tech/tags/time.md>), [travel](<https://devfeed.tech/tags/travel.md>), [update](<https://devfeed.tech/tags/update.md>), [users](<https://devfeed.tech/tags/users.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

E-Maj 5.0.1 fixes a vulnerability present in all earlier versions that could let some users gain superuser privileges under certain circumstances; users are strongly encouraged to update promptly. E-Maj is a PostgreSQL extension for fine-grained write logging and time travel on database subsets. Version 5.0.1 supports Postgres 14-19. Emaj_web 5.0 is compatible with E-Maj extension versions 3.0-5.0.

### Source excerpt

We are very glad to announce the E-Maj 5.0.1 version. E-Maj is a PostgreSQL extension which enables fine-grained write logging and time travel on subsets of the database. This version mainly fixes a vulnerability encountered in all previous versions, allowing some users to gain superuser privileges under certain circumstances. Users are strongly encouraged to update their installed version as soon as possible. E-Maj 5.0.1 is compatible with Postgres 14 to 19 versions. Emaj_web 5.0 is compatible with emaj extension 3.0 to 5.0 versions. The full documentation is available on line. The core extension is available at pgxn.org for installation or github.org for development. The Emaj_web client is also available at github.org. Have fun with E-Maj !

## Pollora: Run WordPress Inside a Laravel Application

DevFeed: [Pollora: Run WordPress Inside a Laravel Application](<https://devfeed.tech/articles/pollora-run-wordpress-inside-a-laravel-application-107548.md>)

Original publisher: [Read original article](<https://laravel-news.com/pollora-wordpress-laravel>)

Author: Paul Redmond

Published: 2026-10-29T03:46:20Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [WordPress](<https://devfeed.tech/topics/wordpress.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Laravel Boost](<https://devfeed.tech/topics/laravel-boost.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Back end](<https://devfeed.tech/topics/backend.md>)

Tags: [aws-s3](<https://devfeed.tech/tags/aws-s3.md>), [boost](<https://devfeed.tech/tags/boost.md>), [cms](<https://devfeed.tech/tags/cms.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [composer](<https://devfeed.tech/tags/composer.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [packages](<https://devfeed.tech/tags/packages.md>), [php](<https://devfeed.tech/tags/php.md>), [route](<https://devfeed.tech/tags/route.md>), [routing](<https://devfeed.tech/tags/routing.md>), [themes](<https://devfeed.tech/tags/themes.md>), [wordpress](<https://devfeed.tech/tags/wordpress.md>)

### AI overview

Pollora runs WordPress inside Laravel: Laravel boots first and handles front-end routing and rendering, while WordPress continues to parse requests and provide its admin, database, and plugins. `Route::wp()` matches Laravel routes to WordPress conditional tags; unmatched requests fall back to the WordPress template hierarchy using Blade views. PHP attributes declare post types and hooks, and Gutenberg blocks use Blade templates for both rendering and editor previews. Pollora also supports Eloquent access through Colt and storing WordPress media on Laravel filesystem disks. The combined stack boots WordPress and its plugins on every web request, and core updates use Composer rather than the WordPress dashboard. The article's comparison recommends Sage for themes on standard WordPress, Acorn for adding Laravel components to an existing site, and Corcel for Laravel apps that only read WordPress data; it describes Pollora as a young project with fewer installs than Acorn and Sage.

### Source excerpt

Pollora runs WordPress inside Laravel, with Route::wp() routing on conditional tags, Blade themes, and PHP attributes for post types and hooks. The post Pollora: Run WordPress Inside a Laravel Application appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Scheduled Session Garbage Collection in Laravel 13.39

DevFeed: [Scheduled Session Garbage Collection in Laravel 13.39](<https://devfeed.tech/articles/scheduled-session-garbage-collection-in-laravel-13-39-106048.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-13-39-0>)

Author: Paul Redmond

Published: 2026-10-27T22:35:05Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [cleanup](<https://devfeed.tech/tags/cleanup.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-releases](<https://devfeed.tech/tags/laravel-releases.md>), [news](<https://devfeed.tech/tags/news.md>), [scheduled](<https://devfeed.tech/tags/scheduled.md>)

### AI overview

Laravel 13.39 adds scheduled session cleanup and several framework improvements. The new `session:garbage-collect` Artisan command runs the session driver's collector using `session.lifetime`; schedule it, for example, hourly. Expired sessions are otherwise cleaned during a random request according to `config/session.php`'s `lottery`, which can be set to `[0, 100]` to stop request-triggered cleanup. Eloquent models can now use `#[Table(key: false)]` without a primary key or incrementing behavior. `JobAttempted` gains a duration in milliseconds, including for synchronous queue jobs, enabling timing of failed or retried attempts. Other changes include array validation size methods, relationship-aware create and restore methods, and atomic config, route, and event cache writes. Testing updates add `#[WithoutMigrationEvents]`, improve mail and bus fakes, and roll back open transaction levels after each `RefreshDatabase` test. The supplied text also lists assorted bug fixes; it does not provide details for every changelog entry.

### Source excerpt

Laravel 13.39 adds a session:garbage-collect command for scheduled session cleanup, keyless models with #[Table(key: false)], and durations on JobAttempted. The post Scheduled Session Garbage Collection in Laravel 13.39 appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Sloppy: Static Analysis for AI-Written PHP

DevFeed: [Sloppy: Static Analysis for AI-Written PHP](<https://devfeed.tech/articles/sloppy-static-analysis-for-ai-written-php-104143.md>)

Original publisher: [Read original article](<https://laravel-news.com/sloppy>)

Author: Yannick Lyn Fatt

Published: 2026-10-26T02:32:21Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [Composer](<https://devfeed.tech/topics/composer.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [loops](<https://devfeed.tech/tags/loops.md>), [php](<https://devfeed.tech/tags/php.md>), [query](<https://devfeed.tech/tags/query.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>)

### AI overview

Sloppy is a local static analyzer for PHP maintenance issues, including swallowed exceptions, inefficient Eloquent queries, possible N+1 queries, and unfinished implementations. It does not detect AI authorship and complements type checkers, formatters, and tests. Findings include locations, confidence, measurements, and suggested changes, but developers decide how to handle failures or structural refactors. Agent integrations can feed findings back during edits; their finish hook blocks once and permits a later finish with unresolved findings, so CI checks are needed for a build gate. Branch diff and review commands focus on findings since the merge base, while baselines record existing issues. Sloppy requires PHP 8.3 or later; its Artisan commands and Laravel rules support Laravel 12 and 13. Optional Rector and Pint dependencies support mechanical fixes, which can be previewed before applying.

### Source excerpt

Sloppy checks AI-written PHP for swallowed exceptions, query loops, and unfinished code, with coding-agent hooks and reviews focused on new findings. The post Sloppy: Static Analysis for AI-Written PHP appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Bringing Neo4j into Laravel

DevFeed: [Bringing Neo4j into Laravel](<https://devfeed.tech/articles/bringing-neo4j-into-laravel-95717.md>)

Original publisher: [Read original article](<https://neo4j.com/blog/developer/bringing-neo4j-into-laravel/>)

Author: Jocelyn Hoppa

Published: 2026-10-22T08:14:00Z

Content type: article

Language: en

Sources: [Neo4j](<https://devfeed.tech/sources/graph-database-technology-neo4j-blog.md>)

Topics: [Neo4j](<https://devfeed.tech/topics/neo4j.md>), [graph-database](<https://devfeed.tech/topics/graph-database.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [developer](<https://devfeed.tech/tags/developer.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [graph](<https://devfeed.tech/tags/graph.md>), [graph-database](<https://devfeed.tech/tags/graph-database.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-eloquent](<https://devfeed.tech/tags/laravel-eloquent.md>), [neo4j](<https://devfeed.tech/tags/neo4j.md>), [php](<https://devfeed.tech/tags/php.md>), [query](<https://devfeed.tech/tags/query.md>)

### AI overview

Neo4j Laravel lets Laravel applications use Neo4j alongside relational databases through a named Laravel database connection, parameterized Cypher queries, the Query Builder, and Eloquent-style models. It supports graph relationship queries and model operations such as lazy and eager loading, attaching, syncing, and detaching, plus transactions, pagination, soft deletes on supported models, query logging, and optional Laravel Debugbar integration. The article presents Neo4j as a secondary connection for relationship-heavy data while MySQL, PostgreSQL, or SQLite handle conventional records. It cautions that using Neo4j as the default connection may limit Laravel features that rely on conventional database behavior and Eloquent authentication, so the documented constraints should be reviewed before choosing an architecture.

### Source excerpt

Graph Database Power Without Leaving the Laravel Ecosystem Laravel developers are used to working with Eloquent, the Query Builder, database connections, and familiar application patterns. But what happens when the data your application needs is not just about records, but... Read more ->

## Prevent Stale Database Reads in Laravel 13.38

DevFeed: [Prevent Stale Database Reads in Laravel 13.38](<https://devfeed.tech/articles/prevent-stale-database-reads-in-laravel-13-38-92837.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-13-38-0>)

Author: Paul Redmond

Published: 2026-10-21T02:29:27Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [read-replica](<https://devfeed.tech/topics/read-replica.md>), [Database](<https://devfeed.tech/topics/database.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [Stateful](<https://devfeed.tech/topics/stateful.md>), [Memcached](<https://devfeed.tech/topics/memcached.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-releases](<https://devfeed.tech/tags/laravel-releases.md>), [news](<https://devfeed.tech/tags/news.md>)

### AI overview

Laravel 13.38 adds two ways to avoid stale reads when an application uses database replicas. The opt-in `PreventStaleDatabaseReads` middleware records a write timestamp in the session and routes that user's reads to the write connection for two seconds by default, or a configured longer window. It requires a session, tracks only the default connection, and does not protect other users' reads. `DB::usingWritePdo()` instead sends all reads inside a callback--including relationship loads--to the write connection, then restores the prior setting even if the callback throws. The release also counts worker crashes toward `maxExceptions` for queued listeners, mailables, and notifications; releases scheduled unique-job locks when queue dispatch fails; reduces peak memory in `lazy()` and `lazyById()` by freeing each chunk before fetching the next; and fixes child model `#[Connection]` attributes being overridden by inherited connection properties.

### Source excerpt

Laravel 13.38 adds PreventStaleDatabaseReads middleware and DB::usingWritePdo() so users see their own writes when you read from database replicas. The post Prevent Stale Database Reads in Laravel 13.38 appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Run Large PlanetScale Queries in Laravel With DB::olap()

DevFeed: [Run Large PlanetScale Queries in Laravel With DB::olap()](<https://devfeed.tech/articles/run-large-planetscale-queries-in-laravel-with-db-olap-89997.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-planetscale-olap>)

Author: Paul Redmond

Published: 2026-10-19T02:22:57Z

Content type: news

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [olap](<https://devfeed.tech/topics/olap.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Rockset](<https://devfeed.tech/topics/rockset.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [added](<https://devfeed.tech/tags/added.md>), [csv](<https://devfeed.tech/tags/csv.md>), [customer](<https://devfeed.tech/tags/customer.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [groupby](<https://devfeed.tech/tags/groupby.md>), [join](<https://devfeed.tech/tags/join.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-tutorials](<https://devfeed.tech/tags/laravel-tutorials.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [olap](<https://devfeed.tech/tags/olap.md>), [orders](<https://devfeed.tech/tags/orders.md>), [php](<https://devfeed.tech/tags/php.md>), [planetscale](<https://devfeed.tech/tags/planetscale.md>), [query](<https://devfeed.tech/tags/query.md>), [vitess](<https://devfeed.tech/tags/vitess.md>)

### AI overview

Laravel 13.36 adds DB::olap() to run a callback's queries in Vitess OLAP mode, then restore OLTP mode. The method handles both read and write connections and does nothing special for non-Vitess databases. The article recommends it for occasional large exports, backfills, and admin reports, while cautioning against routine application queries.

### Source excerpt

Laravel's new DB::olap() method runs PlanetScale and Vitess queries in OLAP mode to get past the 100,000 row limit, then switches the connection back. The post Run Large PlanetScale Queries in Laravel With DB::olap() appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Building Node.js applications with Sequelize ORM and Amazon Aurora DSQL

DevFeed: [Building Node.js applications with Sequelize ORM and Amazon Aurora DSQL](<https://devfeed.tech/articles/building-node-js-applications-with-sequelize-orm-and-amazon-aurora-dsql-87259.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/building-node-js-applications-with-sequelize-orm-and-amazon-aurora-dsql/>)

Author: Lasita Bhattacharya

Published: 2026-10-14T15:56:52Z

Content type: tutorial

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [DSQL](<https://devfeed.tech/topics/dsql.md>), [Amazon Aurora](<https://devfeed.tech/topics/amazon-aurora.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [aws](<https://devfeed.tech/tags/aws.md>), [concurrency-control](<https://devfeed.tech/tags/concurrency-control.md>), [dsql](<https://devfeed.tech/tags/dsql.md>), [iam](<https://devfeed.tech/tags/iam.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [optimistic-concurrency](<https://devfeed.tech/tags/optimistic-concurrency.md>), [orm](<https://devfeed.tech/tags/orm.md>), [retry-logic](<https://devfeed.tech/tags/retry-logic.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

### AI overview

This tutorial builds a hotel reservation application using Sequelize ORM with Amazon Aurora DSQL. It explains PostgreSQL compatibility and connector setup, UUID keys and relationship modeling, IAM authentication, single-statement DDL, and optimistic concurrency retries with backoff. It also covers least-privilege access, TLS, networking, connection pooling, monitoring, and cleanup.

### Source excerpt

Node.js teams can run Sequelize ORM on Amazon Aurora DSQL with only a few adaptations. This post builds a hotel reservation application that shows reusable patterns: UUID primary keys, IAM authentication through the Aurora DSQL connector, individual DDL execution, and optimistic concurrency control retry logic.

## Route::query() and Model defaults() in Laravel 13.35

DevFeed: [Route::query() and Model defaults() in Laravel 13.35](<https://devfeed.tech/articles/route-query-and-model-defaults-in-laravel-13-35-66609.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-13-35-0>)

Author: Paul Redmond

Published: 2026-10-07T03:01:25Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [laravel-releases](<https://devfeed.tech/tags/laravel-releases.md>), [news](<https://devfeed.tech/tags/news.md>)

### AI overview

Laravel 13.35 adds HTTP QUERY routing, opt-in Eloquent model defaults, property arrays for fake assertions, and percentage-based queue worker memory limits. Scheduler updates support running tasks on one server and letting long-running commands detect deployment interrupts. The release also adds Markdown responses and deferred root-directory creation for local disks.

### Source excerpt

Laravel 13.35 adds Route::query(), an opt-in defaults() method for models, property arrays in fake assertions, percentage worker memory limits, and more. The post Route::query() and Model defaults() in Laravel 13.35 appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Grant: Enum-Based Roles and Permissions for Laravel

DevFeed: [Grant: Enum-Based Roles and Permissions for Laravel](<https://devfeed.tech/articles/grant-enum-based-roles-and-permissions-for-laravel-65410.md>)

Original publisher: [Read original article](<https://laravel-news.com/grant-laravel-roles-permissions>)

Author: Yannick Lyn Fatt

Published: 2026-10-05T21:49:41Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [rbac](<https://devfeed.tech/topics/rbac.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [authorization](<https://devfeed.tech/tags/authorization.md>), [database](<https://devfeed.tech/tags/database.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [enum](<https://devfeed.tech/tags/enum.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [php](<https://devfeed.tech/tags/php.md>), [policy](<https://devfeed.tech/tags/policy.md>), [roles](<https://devfeed.tech/tags/roles.md>), [scopes](<https://devfeed.tech/tags/scopes.md>)

### AI overview

Grant is a Laravel package for defining roles and permissions with PHP enums and storing role assignments in the database. It uses Laravel's Gate for permission checks, supports global and model-scoped roles, and can work alongside policies for model-specific rules. It requires PHP 8.3 or later and Laravel 12 or 13.

### Source excerpt

Grant defines Laravel roles and permissions with PHP enums, stores role assignments in the database, and checks access through Laravel's Gate. The post Grant: Enum-Based Roles and Permissions for Laravel appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Laravel 14 Adds a defaults() Method to Eloquent Models

DevFeed: [Laravel 14 Adds a defaults() Method to Eloquent Models](<https://devfeed.tech/articles/laravel-14-adds-a-defaults-method-to-eloquent-models-63149.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-model-defaults>)

Author: Paul Redmond

Published: 2026-09-30T22:23:38Z

Content type: news

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [eloquent](<https://devfeed.tech/tags/eloquent.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-14](<https://devfeed.tech/tags/laravel-14.md>), [models](<https://devfeed.tech/tags/models.md>), [news](<https://devfeed.tech/tags/news.md>)

### AI overview

Laravel 14 adds a defaults() method to Eloquent models, letting default attributes use runtime values such as configuration, feature flags, and dates. The article explains how defaults are merged with property and constructor values, notes that defaults are raw and do not count as dirty changes, and describes when the method runs and how to check for conflicting methods before upgrading.

### Source excerpt

Laravel 14 adds a defaults() method to Eloquent models, so default attribute values can use config, feature flags, and dates instead of constant expressions. The post Laravel 14 Adds a defaults() Method to Eloquent Models appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Elastic Bridge: Eloquent-Style Queries for Elasticsearch and OpenSearch

DevFeed: [Elastic Bridge: Eloquent-Style Queries for Elasticsearch and OpenSearch](<https://devfeed.tech/articles/elastic-bridge-eloquent-style-queries-for-elasticsearch-and-opensearch-61663.md>)

Original publisher: [Read original article](<https://laravel-news.com/elastic-bridge>)

Author: Yannick Lyn Fatt

Published: 2026-09-29T04:03:08Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [opensearch](<https://devfeed.tech/topics/opensearch.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [full-text-search](<https://devfeed.tech/tags/full-text-search.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [opensearch](<https://devfeed.tech/tags/opensearch.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

Elastic Bridge is a Laravel package that provides a fluent Eloquent-style PHP API for querying Elasticsearch and OpenSearch. The article covers index bridges, full-text search, filters, pagination, aggregations, testing without a live search cluster, installation requirements, and backend configuration.

### Source excerpt

Elastic Bridge brings fluent Elasticsearch and OpenSearch queries to Laravel, with model-style documents, aggregations, pagination, and testing fakes. The post Elastic Bridge: Eloquent-Style Queries for Elasticsearch and OpenSearch appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Tashil: Laravel Subscription Plans and Feature Usage Limits

DevFeed: [Tashil: Laravel Subscription Plans and Feature Usage Limits](<https://devfeed.tech/articles/tashil-laravel-subscription-plans-and-feature-usage-limits-60926.md>)

Original publisher: [Read original article](<https://laravel-news.com/tashil-laravel-subscriptions>)

Author: Yannick Lyn Fatt

Published: 2026-09-28T00:20:10Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [API Business Models](<https://devfeed.tech/topics/api-business-models.md>)

Tags: [churn](<https://devfeed.tech/tags/churn.md>), [database](<https://devfeed.tech/tags/database.md>), [features](<https://devfeed.tech/tags/features.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [limits](<https://devfeed.tech/tags/limits.md>), [stripe](<https://devfeed.tech/tags/stripe.md>)

### AI overview

Tashil is a Laravel package for defining subscription plans with feature access and usage limits. It tracks customer usage, supports trials, plan changes, invoices, and payment records, and can reject usage that exceeds a plan limit. Tashil does not process payments; payments are handled by an external gateway and recorded in the package.

### Source excerpt

Tashil is a Laravel package for subscription plans, feature limits, and usage tracking. It creates invoices and records payments from any gateway. The post Tashil: Laravel Subscription Plans and Feature Usage Limits appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Eloquent Refreshes: Load Generated Columns After Save

DevFeed: [Eloquent Refreshes: Load Generated Columns After Save](<https://devfeed.tech/articles/eloquent-refreshes-load-generated-columns-after-save-59203.md>)

Original publisher: [Read original article](<https://laravel-news.com/eloquent-refreshes-attribute>)

Author: Paul Redmond

Published: 2026-09-23T23:29:37Z

Content type: article

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Database](<https://devfeed.tech/topics/database.md>), [save](<https://devfeed.tech/topics/save.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-tutorials](<https://devfeed.tech/tags/laravel-tutorials.md>), [save](<https://devfeed.tech/tags/save.md>)

### AI overview

Laravel 13.33 introduces the Refreshes attribute for Eloquent models. It reloads database-generated columns after inserts and updates, so models expose current computed values without manually calling refresh().

### Source excerpt

Laravel's new Refreshes attribute reloads storedAs and virtualAs columns after create() and update(), so the model has the database value without refresh(). The post Eloquent Refreshes: Load Generated Columns After Save appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Tagged Memoized Cache and Model Refreshes in Laravel 13.33

DevFeed: [Tagged Memoized Cache and Model Refreshes in Laravel 13.33](<https://devfeed.tech/articles/tagged-memoized-cache-and-model-refreshes-in-laravel-13-33-58962.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-13-33-0>)

Author: Paul Redmond

Published: 2026-09-22T22:05:53Z

Content type: release

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Database](<https://devfeed.tech/topics/database.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Job](<https://devfeed.tech/topics/job.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Process](<https://devfeed.tech/topics/process.md>), [JSON](<https://devfeed.tech/topics/json.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [database](<https://devfeed.tech/tags/database.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [job](<https://devfeed.tech/tags/job.md>), [json](<https://devfeed.tech/tags/json.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-releases](<https://devfeed.tech/tags/laravel-releases.md>), [migration](<https://devfeed.tech/tags/migration.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [news](<https://devfeed.tech/tags/news.md>), [php](<https://devfeed.tech/tags/php.md>), [process](<https://devfeed.tech/tags/process.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Laravel 13.33 introduces tagged memoized cache support, model attributes that refresh generated database columns after writes, nullable collection and array-object casts, non-blocking MySQL index migrations, inherited form request attributes, and an option to avoid terminating workers when jobs exceed their timeout.

### Source excerpt

Laravel 13.33 adds tags to Cache::memo(), a Refreshes attribute for generated columns, AsCollection::nullable(), inplace() index migrations, and more. The post Tagged Memoized Cache and Model Refreshes in Laravel 13.33 appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## Eloquent Performance and Database Design: Evidence Before Eager Loading

DevFeed: [Eloquent Performance and Database Design: Evidence Before Eager Loading](<https://devfeed.tech/articles/eloquent-performance-and-database-design-evidence-before-eager-loading-33303.md>)

Original publisher: [Read original article](<https://freek.dev/3190-eloquent-performance-and-database-design-evidence-before-eager-loading>)

Author: Freek Van der Herten (freek@spatie.be)

Published: 2026-09-11T12:30:27Z

Content type: tutorial

Language: en

Sources: [Freek](<https://devfeed.tech/sources/freek-dev-all-blogposts.md>)

Topics: [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Database](<https://devfeed.tech/topics/database.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [PHP](<https://devfeed.tech/topics/php.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [eager-loading](<https://devfeed.tech/tags/eager-loading.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [php](<https://devfeed.tech/tags/php.md>), [query](<https://devfeed.tech/tags/query.md>)

### AI overview

A practical deep dive into improving Eloquent performance and database design for a growing team dashboard. It covers detecting N+1 queries, choosing aggregates and indexes, inspecting query plans, pagination, chunking, and transaction boundaries.

### Source excerpt

A deep dive into Eloquent performance, from detecting N+1 queries to choosing aggregates, indexes, query plans, pagination, chunking, and transaction boundaries for a growing team dashboard. Read more

## Laravel August product updates

DevFeed: [Laravel August product updates](<https://devfeed.tech/articles/laravel-august-product-updates-3754.md>)

Original publisher: [Read original article](<https://laravel.com/blog/laravel-august-product-updates>)

Author: Laravel Team

Published: 2026-09-03T20:30:00Z

Content type: release

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [zero downtime deployment](<https://devfeed.tech/topics/zero-downtime-deployment.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [api](<https://devfeed.tech/tags/api.md>), [changelog](<https://devfeed.tech/tags/changelog.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [downtime](<https://devfeed.tech/tags/downtime.md>), [exactly-once](<https://devfeed.tech/tags/exactly-once.md>), [fifo](<https://devfeed.tech/tags/fifo.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [hipaa](<https://devfeed.tech/tags/hipaa.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [mariadb](<https://devfeed.tech/tags/mariadb.md>), [meilisearch](<https://devfeed.tech/tags/meilisearch.md>), [order](<https://devfeed.tech/tags/order.md>), [payments](<https://devfeed.tech/tags/payments.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [product](<https://devfeed.tech/tags/product.md>), [product-updates](<https://devfeed.tech/tags/product-updates.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

Laravel's August updates focus on storage migration, search, managed queues, and deployment controls. The framework's read-through filesystem serves files from a fallback disk and copies them to the destination when accessed, while new writes go to the destination. Scout adds Turbopuffer with batched indexing and vector distance metadata, plus semantic and hybrid search for its database and Meilisearch engines. Laravel Cloud rebuilt managed queues with Flex, which scales to zero and wakes in under a second, and Pro, which stays warm for steadier, latency-sensitive throughput; its FIFO queues promise exactly-once, ordered delivery. Cloud also checks packages before deployment and supports scoped API tokens. The excerpt additionally mentions MariaDB vector support, a runtime Cloud facade, Forge source-control accounts and Ubuntu 26.04 support, and HIPAA compliance for Private Cloud.

### Source excerpt

Here's everything that shipped in August.

## Real-world examples of using Laravel AI SDK

DevFeed: [Real-world examples of using Laravel AI SDK](<https://devfeed.tech/articles/real-world-examples-of-using-laravel-ai-sdk-20474.md>)

Original publisher: [Read original article](<https://www.amitmerchant.com/real-world-exmples-using-laravel-api-sdk/>)

Author: Amit Merchant

Published: 2026-02-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [Amit Merchant](<https://devfeed.tech/sources/amit-merchant.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI for interactive applications](<https://devfeed.tech/topics/ai-for-interactive-applications.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-model](<https://devfeed.tech/tags/ai-model.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [ai-sdk](<https://devfeed.tech/tags/ai-sdk.md>), [ai-services](<https://devfeed.tech/tags/ai-services.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code-review](<https://devfeed.tech/tags/code-review.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [database](<https://devfeed.tech/tags/database.md>), [edtech](<https://devfeed.tech/tags/edtech.md>), [eloquent](<https://devfeed.tech/tags/eloquent.md>), [examples](<https://devfeed.tech/tags/examples.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-ai](<https://devfeed.tech/tags/laravel-ai.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

The excerpt presents Laravel AI SDK as a way to query AI providers such as OpenAI, Anthropic, Gemini, Mistral, and Ollama through a common Laravel API. One example uses Eloquent models as context: an assistant retrieves a user's recent orders, formats them for the model, and answers a question such as where the last order is. Another outlines a pull request review bot: on PR creation or update, CI or a Laravel service fetches the diff and key files, then sends a summary, diff, and possibly changed files to an agent guided by team standards. The excerpt begins listing personalized learning and quiz systems as another use case but provides no details, and the review-bot explanation ends mid-sentence.

### Source excerpt

The Laravel team recently released the Laravel AI SDK that provides a simple and elegant way to integrate AI capabilities into your Laravel applications. The SDK offers a clean and intuitive API that allows developers to easily interact with AI models and services.

## Under Laravel Eloquent's Hood: The Artisan of the Day Is Chris Morrell.

DevFeed: [Under Laravel Eloquent's Hood: The Artisan of the Day Is Chris Morrell.](<https://devfeed.tech/articles/under-laravel-eloquent-s-hood-the-artisan-of-the-day-is-chris-morrell-3925.md>)

Original publisher: [Read original article](<https://laravel.com/blog/under-laravel-eloquents-hood-the-artisan-of-the-day-is-chris-morrell>)

Author: Ana Tavares

Published: 2025-08-09T16:00:00Z

Content type: article

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Code](<https://devfeed.tech/topics/code.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [ai](<https://devfeed.tech/tags/ai.md>), [claude](<https://devfeed.tech/tags/claude.md>), [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>), [developers](<https://devfeed.tech/tags/developers.md>), [events](<https://devfeed.tech/tags/events.md>), [framework](<https://devfeed.tech/tags/framework.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [library](<https://devfeed.tech/tags/library.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [php](<https://devfeed.tech/tags/php.md>), [podcast](<https://devfeed.tech/tags/podcast.md>), [presentation](<https://devfeed.tech/tags/presentation.md>), [source](<https://devfeed.tech/tags/source.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

This developer article profiles Chris Morrell and his deep exploration of Laravel Eloquent. It explains that Eloquent relationships are built from query builders and PHP code, then presents unconventional examples involving comma-separated IDs, geographic distance calculations in MySQL, generated test data, and Claude-powered predictions.

### Source excerpt

Chris Morrell believes Eloquent relations are just PHP code, like everything else in the Laravel framework.

## Announcing Laravel Support and PHP PDO Interface

DevFeed: [Announcing Laravel Support and PHP PDO Interface](<https://devfeed.tech/articles/announcing-laravel-support-and-php-pdo-interface-5889.md>)

Original publisher: [Read original article](<https://turso.tech/blog/announcing-laravel-support>)

Author: Levy Albuquerque

Published: 2025-01-09T00:00:00Z

Content type: release

Language: en

Sources: [Turso](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [Turso](<https://devfeed.tech/topics/turso.md>), [PHP](<https://devfeed.tech/topics/php.md>), [libSQL](<https://devfeed.tech/topics/libsql.md>), [PHP Data Objects (PDO)](<https://devfeed.tech/topics/pdo.md>), [Composer](<https://devfeed.tech/topics/composer.md>), [Eloquent ORM](<https://devfeed.tech/topics/eloquent.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [features](<https://devfeed.tech/tags/features.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [libsql](<https://devfeed.tech/tags/libsql.md>), [orm](<https://devfeed.tech/tags/orm.md>), [php](<https://devfeed.tech/tags/php.md>), [recommendation-system](<https://devfeed.tech/tags/recommendation-system.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [sdks](<https://devfeed.tech/tags/sdks.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [turso](<https://devfeed.tech/tags/turso.md>)

### AI overview

Turso announces official Laravel support through the open-source libsql-laravel adapter and PHP PDO interface. The technical preview integrates with Laravel's database layer, supports local SQLite and Turso configurations, and removes the need for custom PHP extensions. The article also demonstrates migrations, Eloquent models, vector embeddings, and similarity searches for a movie recommendation system.

### Source excerpt

Use Turso natively with Laravel through our new 'libsql-laravel' adapter and PHP PDO interface. No custom PHP extensions, just a database URL and auth token.

[Next page](<https://devfeed.tech/topics/eloquent.md?cursor=WyIyMDI1LTAxLTA5VDAwOjAwOjAwKzAwOjAwIiwgIjQzOTRiYjEyLTExNWQtNDY5Yy05MWJmLTRkYTkzYTY5ZTBiNSJd>)