PHPackages                             bajki/schema-builder - 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. bajki/schema-builder

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

bajki/schema-builder
====================

Schema designer &amp; migration generator for laravel &amp; lumen

1.0.2(9y ago)03MITPHP

Since Feb 12Pushed 8y agoCompare

[ Source](https://github.com/bajki/schema-builder)[ Packagist](https://packagist.org/packages/bajki/schema-builder)[ Docs](https://github.com/Agontuk/schema-builder)[ RSS](/packages/bajki-schema-builder/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

Laravel/Lumen schema builder
============================

[](#laravellumen-schema-builder)

Database designer &amp; migration generator package for laravel &amp; lumen.

Checkout **[agontuk.github.io/schema-designer](https://agontuk.github.io/schema-designer)** to see how it works.

Installation
------------

[](#installation)

```
composer require --dev agontuk/schema-builder
```

Then register SchemaServiceProvider, for laravel on `providers` array in `config/app.php`,

```
\Agontuk\Schema\SchemaServiceProvider::class
```

or for lumen in `bootstrap/app.php`

```
$app->register(\Agontuk\Schema\SchemaServiceProvider::class);
```

Finally enable required routes via `.env`,

```
SCHEMA_ROUTES_ENABLED=true
```

> NOTE: APP\_ENV should be `local` to use this package.

Usage
-----

[](#usage)

Navigate to `yoursite.com/schema` and build your database schema, then use the export button to generate migration files.

> NOTE: Not all features of migration are supported yet. Feel free to submit any issues or pull requests.

License
-------

[](#license)

[MIT](https://github.com/Agontuk/schema-builder/blob/master/LICENSE)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 95.5% 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 ~27 days

Total

3

Last Release

3325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c501f5ef74c7d6bb4f97590a29764aca7c39fadd6d9664c3fab6927a6426ccd?d=identicon)[bajki](/maintainers/bajki)

---

Top Contributors

[![Agontuk](https://avatars.githubusercontent.com/u/5656440?v=4)](https://github.com/Agontuk "Agontuk (42 commits)")[![bajki](https://avatars.githubusercontent.com/u/24210611?v=4)](https://github.com/bajki "bajki (2 commits)")

---

Tags

schemadatabasemigration-generatorschema builderschema design

### Embed Badge

![Health badge](/badges/bajki-schema-builder/health.svg)

```
[![Health](https://phpackages.com/badges/bajki-schema-builder/health.svg)](https://phpackages.com/packages/bajki-schema-builder)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[dragon-code/laravel-data-dumper

Adding data from certain tables when executing the `php artisan schema:dump` console command

3418.6k](/packages/dragon-code-laravel-data-dumper)[ntanduy/cloudflare-d1-database

Easy configuration and setup for D1 Database connections in Laravel.

215.4k](/packages/ntanduy-cloudflare-d1-database)

PHPackages © 2026

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