NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #976 most downloaded on Packagist
Laravel queries with common table expressions
Latest stable
v1.13.0
Last release 8 months ago
28 Feb 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 33 of 50 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
50 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Support Laravel 13 and drop Firebird support by @staudenmeir in https://github.com/staudenmeir/laravel-cte/pull/80
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.12.4...v1.13.0
Support custom Firebird connection resolvers
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.12.3...v1.12.4
refactor: improve grammar selection logic, fixes #74 by @f-liva in https://github.com/staudenmeir/laravel-cte/pull/75
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.12.2...v1.12.3
Support Laravel 12 by @staudenmeir in https://github.com/staudenmeir/laravel-cte/pull/73
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.12.1...v1.12.2
Support Laravel 12 by @staudenmeir in https://github.com/staudenmeir/laravel-cte/pull/69
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.12...v1.12.1
Increase PHPStan level by @staudenmeir in https://github.com/staudenmeir/laravel-cte/pull/60
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.11.1...v1.11.2
## What's Changed * Restore return type (#57) Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.11...v1.11.1
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.11...v1.11.1
## What's Changed * Restore return type (#57) Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.10...v1.10.1
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.10...v1.10.1
Support Laravel's new toRawSql()
toRawSql() (#47)Support updateFrom() on PostgreSQL
updateFrom() on PostgreSQL (#42)Refactor code for merge packages
- Add cycle detection
Support updateFrom() on PostgreSQL
updateFrom() on PostgreSQL (#42)Return number of affected rows from insertUsing()
insertUsing() (#37)applyBeforeQueryCallbacks() in insertUsing()Support UPDATE and DELETE queries with joins or limit on PostgreSQL and SQLite
UPDATE and DELETE queries with joins or limit on PostgreSQL and SQLiteFix compatibility issues with custom query builders
Support expressions on outer UNION queries
Nothing published for this version
Fix compatibility issues with custom query builders
Support expressions on outer UNION queries
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Supports recursion limit on SQL Server.
Supports recursion limit on SQL Server.
Fixes OFFSET queries on SQL Server.
Fixes OFFSET queries on SQL Server.
Nothing published for this version
Fixes UPDATE queries with bindings.
Fixes UPDATE queries with bindings.
Fixes recursive expressions on SQLite.
Fixes recursive expressions on SQLite.
Nothing published for this version
Nothing published for this version
Supports recursion limit on SQL Server.
Supports recursion limit on SQL Server.
Fixes OFFSET queries on SQL Server.
Fixes OFFSET queries on SQL Server.
Nothing published for this version
Fixes UPDATE queries with bindings.
Fixes UPDATE queries with bindings.
Fixes recursive expressions on SQLite.
Fixes recursive expressions on SQLite.
Nothing published for this version
Add Oracle support by @staudenmeir in https://github.com/staudenmeir/laravel-cte/pull/50
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.8...v1.9
Added support of the SingleStoreDB by @AdalbertMemSQL in https://github.com/staudenmeir/laravel-cte/pull/48
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.7.1...v1.8
Nothing published for this version
Nothing published for this version
- Add materialized expressions
Nothing published for this version
Nothing published for this version
Nothing published for this version
Use PHP 8.4 by default by @staudenmeir in https://github.com/staudenmeir/laravel-cte/pull/64
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.11.2...v1.12
## What's Changed * Support Laravel 11 Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.10...v1.11
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.10...v1.11
Refactor ConnectionFactory to Use Match Expression by @usermp in https://github.com/staudenmeir/laravel-cte/pull/52
Full Changelog: https://github.com/staudenmeir/laravel-cte/compare/v1.9...v1.10
Nothing published for this version
Nothing published for this version
One column per quarter.