PHPackages                             develme/schema-wireframe - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. develme/schema-wireframe

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

develme/schema-wireframe
========================

Quickly stub out Laravel models, views and controllers based on MySQL's schema.

v0.0.2(10y ago)3362MITPHPPHP &gt;=5.4.0

Since Jun 14Pushed 10y ago3 watchersCompare

[ Source](https://github.com/develme/schema-wireframe)[ Packagist](https://packagist.org/packages/develme/schema-wireframe)[ RSS](/packages/develme-schema-wireframe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Schema Wireframe
----------------

[](#schema-wireframe)

This package was created to quickly stub/frame out controllers, models, and views in a CRUD fashion.

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

[](#installation)

Via Composer Require

```
composer require develme/schema-wireframe --dev
```

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

[](#configuration)

Configure schema connection settings within config/database.php, so the package knows how to get table information from MySQL. This connection has to be named schema.

```
    //...
	'connections' => [
    //...
        'schema' => [
            'driver'    => 'mysql',
            'host'      => env('DB_HOST', 'localhost'),
            'database'  => 'information_schema',
            'username'  => env('DB_USERNAME', 'forge'),
            'password'  => env('DB_PASSWORD', ''),
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => '',
            'strict'    => false,
        ],
    //...
```

Make sure to register the service provider within config/app.php

```
// ...
/*
 * Third Party Service Providers...
 */
'DevelMe\SchemaServiceProvider',
// ...
```

Generating Files
----------------

[](#generating-files)

This process should be done after you run your migrations. It pulls table and column information from MySQL's information\_schema database.

### Controllers

[](#controllers)

To generate a controller, you would type:

```
php artisan make:schema-controller  [--table=] [--model=]
```

Example:

```
php artisan make:schema-controller Admin\\User --table="users" --model="App\\User"
```

Please note that when providing namespaces, include two back slashes (\\\\)

Also note that when providing the model class, the root namespace should also be included

### Models

[](#models)

To generate a model, you would type:

```
php artisan make:schema-model  [--table=]
```

Example:

```
php artisan make:schema-model User --table="users"
```

Please note that the root namespace does not have to be provided here

### Views

[](#views)

To generate a view, you would type:

```
php artisan make:schema-view  [--table=] [--theme=] [--path=]
```

Example 1:

```
php artisan make:schema-view User --table="users" --theme="bootstrap"
```

Example 2:

```
php artisan make:schema-view User --table="users" --path="resources/views/example"
```

Please note that the root namespace does not have to be provided here

#### Themes

[](#themes)

Currently, only two themes are provided. Bootstrap and Foundation.

Theoretically, you could create a custom theme ad \[package root\]/src/themes/\[theme name\]/view but there's a possibility of composer overwriting those files. Support for loading views from another location can be added if the need arises.

### MVC Generation

[](#mvc-generation)

It is possible to generate the model, view, and controller all at once. This is currently an experimental command as it is somewhat restrictive and incomplete

A resource controller can also be appended to your routes.php file. If you say yes when the question arises.

For an MVC Generation, you would type:

```
php artisan make:schema-app   [--table=] [--theme=]
```

Example:

```
php artisan make:schema-app User Admin\\User --table="users" --theme="bootstrap"
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

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

Every ~0 days

Total

2

Last Release

3992d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9a3bd10e177bfb2a6be7cc5c3655324f6e3e47e7cea0c7af6c638a2054d6322?d=identicon)[Verron](/maintainers/Verron)

---

Top Contributors

[![Verron](https://avatars.githubusercontent.com/u/1887313?v=4)](https://github.com/Verron "Verron (26 commits)")

### Embed Badge

![Health badge](/badges/develme-schema-wireframe/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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