colopl/laravel-tidb
A Laravel database driver for TiDB, the MySQL-compatible distributed SQL database. It extends Laravel's MySQL grammar with TiDB-specific schema support such as AUTO_RANDOM columns, clustered indexes, and TiDB-aware migrations, so Eloquent and the query builder work naturally on TiDB clusters.
Adopt when all of the following hold:
Look elsewhere when:
To executives: We can now run our Laravel applications on TiDB with a supported, Laravel 12-compatible integration. That removes a blocker on our framework upgrade and keeps our database scaling options open (horizontal scale, HTAP reads) without asking engineering to build and maintain database driver code themselves. The cost is one small dependency; the saving is avoided bespoke connector work and a cleaner path through the Laravel 12 upgrade.
To engineering: v5.0.0 is a compatibility release — it adds Laravel 12 support and is the release line to target for the Laravel 12 migration. Practical implications:
How can I help you explore Laravel packages today?