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)6171.3k↓26.5%74WTFPLPHPPHP &gt;=5.4.0CI failing

Since Nov 16Pushed 3y 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 1mo 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 88% 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

1990d 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

[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[aglipanci/laravel-eloquent-case

Adds CASE statement support to Laravel Query Builder.

115157.2k](/packages/aglipanci-laravel-eloquent-case)

PHPackages © 2026

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