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

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

agontuk/schema-builder
======================

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

1.3.0(5y ago)541.6k20[1 issues](https://github.com/Agontuk/schema-builder/issues)[2 PRs](https://github.com/Agontuk/schema-builder/pulls)MITPHP

Since Feb 12Pushed 5y ago6 watchersCompare

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

READMEChangelogDependencies (6)Versions (6)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
```

For Laravel(&gt;=5.5) this package utilises package auto-discovery. There is no need to add the service providers manually. You may notice the following message post-autoload.

```
Discovered Package: agontuk/schema-builder
```

or for Laravel(&lt;5.5), register SchemaServiceProvider on the `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

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 94.3% 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 ~363 days

Total

5

Last Release

1971d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5656440?v=4)[Iftekhar Rifat](/maintainers/Agontuk)[@Agontuk](https://github.com/Agontuk)

---

Top Contributors

[![Agontuk](https://avatars.githubusercontent.com/u/5656440?v=4)](https://github.com/Agontuk "Agontuk (50 commits)")[![noud](https://avatars.githubusercontent.com/u/1333629?v=4)](https://github.com/noud "noud (2 commits)")[![jj-meyer](https://avatars.githubusercontent.com/u/8261007?v=4)](https://github.com/jj-meyer "jj-meyer (1 commits)")

---

Tags

databaselaravellumenmigrationschemaschemadatabasemigration-generatorschema builderschema design

### Embed Badge

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

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

###  Alternatives

[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.1k3.4M81](/packages/unisharp-laravel-filemanager)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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