PHPackages                             evvo/tidb-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. evvo/tidb-laravel

ActiveLibrary[Database &amp; ORM](/categories/database)

evvo/tidb-laravel
=================

Better TiDb support for Laravel

0.1(7y ago)81.5kMITPHP

Since Nov 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/evvo/tidb-laravel)[ Packagist](https://packagist.org/packages/evvo/tidb-laravel)[ RSS](/packages/evvo-tidb-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

tidb-laravel
============

[](#tidb-laravel)

Better TiDb support for Laravel

### Install the latest version of the library:

[](#install-the-latest-version-of-the-library)

```
composer require evvo/tidb-laravel:0.1

```

Laravel 5.5+ should be able to autodiscover the package's service provider.

Set the database driver for your database connection to be 'tidb' in config/database.php - for example:

```
'mysql' => [
            'driver' => 'tidb',
            'host' => env('DB_HOST', '127.0.0.1'),
            ...

```

### Notes on some of the differences between MySQL and TiDb

[](#notes-on-some-of-the-differences-between-mysql-and-tidb)

TiDb does not support multiple column updates in a single command - for example, this is not supported:

```
Schema::table('users', function (Blueprint $table) {
    $table->boolean('verified')->default(false);
    $table->string('name')->nullable();
});

```

but this will work fine:

```
Schema::table('users', function (Blueprint $table) {
    $table->boolean('verified')->default(false);
});

Schema::table('users', function (Blueprint $table) {
    $table->string('name')->nullable();
});

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2788d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4643733?v=4)[Evtimiy Mihaylov](/maintainers/evvo)[@evvo](https://github.com/evvo)

---

Top Contributors

[![evvo](https://avatars.githubusercontent.com/u/4643733?v=4)](https://github.com/evvo "evvo (5 commits)")

---

Tags

laraveltidbtikv

### Embed Badge

![Health badge](/badges/evvo-tidb-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/evvo-tidb-laravel/health.svg)](https://phpackages.com/packages/evvo-tidb-laravel)
```

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

392393.3k5](/packages/rtconner-laravel-likeable)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121134.8k](/packages/highsolutions-eloquent-sequence)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40203.4k](/packages/cybercog-laravel-nova-ban)[cubettech/lacassa

Cassandra based query builder for laravel.

348.6k](/packages/cubettech-lacassa)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
