PHPackages                             zedisdog/laravel-schema-extend - 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. zedisdog/laravel-schema-extend

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

zedisdog/laravel-schema-extend
==============================

supplement for eloquent migration

1.4.1(5y ago)6173.3k—6.4%74WTFPLPHPPHP &gt;=5.4.0CI failing

Since Nov 16Pushed 4y ago2 watchersCompare

[ Source](https://github.com/zedisdog/laravel-schema-extend)[ Packagist](https://packagist.org/packages/zedisdog/laravel-schema-extend)[ RSS](/packages/zedisdog-laravel-schema-extend/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (11)Used By (4)

laravel-schema-extend
=====================

[](#laravel-schema-extend)

[![License](https://camo.githubusercontent.com/9969e8b860770cc81fb95fc2bfed51a04448e04f2d445fe0fb72ef940ef61c65/687474703a2f2f7777772e777466706c2e6e65742f77702d636f6e74656e742f75706c6f6164732f323031322f31322f777466706c2d62616467652d312e706e67)](LICENSE)

- support MySQL 'table comment'.
- 'column comment' is built-in in greater than 5.1 version.
- support variable length for integer/tinyint/mediumint/smallint/bigint

---

> just extend the original class

Install
-------

[](#install)

Require this package with composer using the following command:

```
composer require zedisdog/laravel-schema-extend
```

### less than 5.5

[](#less-than-55)

modify the alias `Schema` in `config/app.php`:

```
'aliases' => [
    ...
    // 'Schema' => Illuminate\Support\Facades\Schema::class,
    'Schema'    => Jialeo\LaravelSchemaExtend\Schema::class,
],
```

### great than 5.5

[](#great-than-55)

just modify `use` statement from

```
use Illuminate\Support\Facades\Schema;
```

to

```
use Jialeo\LaravelSchemaExtend\Schema;
```

in migrate files.

Usage
-----

[](#usage)

```
Schema::create('tests', function ($table) {
    //this is alredy built-in.
    $table->increments('id')->comment('column comment');

    $table->integer('int')->default(1)->length(1);
    $table->bigInteger('big')->default(1)->length(1);
    $table->smallInteger('small')->default(1)->length(1);
    $table->tinyInteger('tiny')->default(1)->length(1);
    $table->mediumInteger('medium')->default(1)->length(1);

    $table->comment = 'table comment';
    $table->autoIncrement = 100;
});
```

Thanks
------

[](#thanks)

- [jialeo](https://github.com/jialeo)
- [ghostboyzone](https://github.com/ghostboyzone)
- [xuhuan](https://github.com/xuhuan)
- [xiaobeicn](https://github.com/xiaobeicn)
- [5-say](https://github.com/5-say)

PS.
---

[](#ps)

sorry for my bad english

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~231 days

Total

9

Last Release

2037d ago

Major Versions

v0.6 → v1.0.02017-06-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8280666?v=4)[zed](/maintainers/zedisdog)[@zedisdog](https://github.com/zedisdog)

---

Top Contributors

[![zedisdog](https://avatars.githubusercontent.com/u/8280666?v=4)](https://github.com/zedisdog "zedisdog (50 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zedisdog-laravel-schema-extend/health.svg)

```
[![Health](https://phpackages.com/badges/zedisdog-laravel-schema-extend/health.svg)](https://phpackages.com/packages/zedisdog-laravel-schema-extend)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[laravel-liberu/laravel-gedcom

A package that converts gedcom files to Eloquent models

782.5k1](/packages/laravel-liberu-laravel-gedcom)

PHPackages © 2026

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