PHPackages                             iamgeor.ge/schema-generator - 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. iamgeor.ge/schema-generator

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

iamgeor.ge/schema-generator
===========================

A Laravel package for generating database schemas, models, and migrations through a Filament admin panel

v1.0.0(1y ago)019MITPHPPHP ^8.2

Since Apr 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/iamgeorge-ge/schema-generator)[ Packagist](https://packagist.org/packages/iamgeor.ge/schema-generator)[ RSS](/packages/iamgeorge-schema-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Schema Generator for Laravel
============================

[](#schema-generator-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/46fa1c770bb279357afa49011f72da392140fb52b07b0384fe093808062d79a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69616d67656f722e67652f736368656d612d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iamgeor.ge/schema-generator)[![Total Downloads](https://camo.githubusercontent.com/f75f03264e51d2289b6adedc6b815f884da683e6cdd19853905d2a174fce3b69/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69616d67656f722e67652f736368656d612d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iamgeor.ge/schema-generator)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

A powerful Laravel package that provides a full-featured schema management system built on top of the Filament admin panel. It enables you to create, configure, and manage database schemas through an intuitive CRUD interface, then automatically generate corresponding migrations, models, and related files.

Key Benefits
------------

[](#key-benefits)

- **Filament-powered UI**: Leverages the beautiful and responsive Filament admin panel
- **Complete CRUD operations**: Create, read, update, and delete schema definitions through the UI
- **Code generation**: Automatically generate models, migrations, and more
- **Seamless integration**: Works with your existing Laravel and Filament setup

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel 11.0 or higher
- Filament 3.2 or higher

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

[](#installation)

You can install the package via composer:

```
composer require iamgeor.ge/schema-generator
```

After installing the package, run the installation command:

```
php artisan schema:install
```

This will:

- Publish the configuration file
- Run migrations
- Set up the Filament panel

Usage
-----

[](#usage)

After installation, you can access the schema generator through the Filament admin panel at `/schema`.

### CRUD Operations

[](#crud-operations)

The package provides a full Filament-powered CRUD interface for managing your database schemas:

1. **Create**: Define new schemas with table name, model name, and fields
2. **Read**: View all your defined schemas in a searchable, filterable table
3. **Update**: Modify existing schemas, add/remove fields, adjust options
4. **Delete**: Remove schemas that are no longer needed

### Schema Generation

[](#schema-generation)

For each schema, you can:

1. Define the table structure (fields, types, constraints)
2. Configure model options (fillable, casts, relationships)
3. Generate migrations and models with a single click
4. Preview the generated code before saving

### Integration with Your Application

[](#integration-with-your-application)

The generated code is automatically placed in your application's appropriate directories:

- Migrations in `database/migrations/`
- Models in `app/Models/` (configurable)

### Screenshot

[](#screenshot)

[![Schema Generator Panel](screenshots/screenshot.jpg)](screenshots/screenshot.jpg)

*The Schema Generator interface showing the full-featured UI with all tabs and components.*

Features
--------

[](#features)

- **Filament Admin Panel Integration**: Built directly on Filament 3.x for a polished admin experience
- **Complete CRUD Operations**: Full interface for creating, reading, updating, and deleting schemas
- **Advanced Schema Definition**: Define columns with types, constraints, relationships, and more
- **Code Generation**:
    - Database migrations
    - Eloquent models with proper attributes
    - Support for relationships
    - Timestamps, soft deletes, and other Laravel features
- **Customization**: Configure paths, namespaces, and generation options
- **Developer Experience**: Intuitive UI with instant feedback and code previews
- **Extensibility**: Built to be extended with custom generators and features

Configuration
-------------

[](#configuration)

The package publishes a configuration file that allows you to customize various aspects of code generation:

```
php artisan vendor:publish --tag="schema"
```

Configuration options:

```
return [
    // Path where the Filament panel will be accessible
    'path' => 'schema',

    // Generation paths
    'paths' => [
        'models' => app_path('Models'),
        'migrations' => database_path('migrations'),
    ],

    // Default generation options
    'generation' => [
        'timestamps' => true,
        'soft_deletes' => false,
        'fillable' => true,
        'namespace' => 'App\\Models',
    ],
];
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [George](https://github.com/iamgeorge-ge) -
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance46

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

401d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/211cf169d1c2fd849bc4ace1c0ebd9af26a2ad2f3b6d7e18109af28e319d43a2?d=identicon)[iamgeorge](/maintainers/iamgeorge)

---

Top Contributors

[![iamgeorge-ge](https://avatars.githubusercontent.com/u/65245418?v=4)](https://github.com/iamgeorge-ge "iamgeorge-ge (21 commits)")

### Embed Badge

![Health badge](/badges/iamgeorge-schema-generator/health.svg)

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

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[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)
