PHPackages                             err404/table-creator - 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. err404/table-creator

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

err404/table-creator
====================

create and seed the SQL tables

1.0.0(5y ago)125mitPHP

Since Sep 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/3RR404/tableCreator)[ Packagist](https://packagist.org/packages/err404/table-creator)[ RSS](/packages/err404-table-creator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

tableCreator
============

[](#tablecreator)

MySQL query-base table generator. Create the table onload the page. This app use PDO extension.

Use
---

[](#use)

- load the database

```
require_once "DatabaseConnector.php";

```

All Database setings are in .env file example is in file index.php, or \[on github page\]{[https://github.com/vlucas/phpdotenv}](https://github.com/vlucas/phpdotenv%7D)

- load the creator

```
require_once "TableCreator.php";

```

- use in class

```
use App\TableCreator;

$table = new TableCreator( 'mytable' );
$table->integer('id', 11, '', true );
$table->up();
```

create table with name **'mytable'** $table = new TableCreator( 'mytable' ); This create only one column with name **id**, that will be integer type 11 lengt with default value '' and AUTO\_INCREMENT PRIMARY key

up() method execute the prepared SQL.

```
$table = new TableCreator( 'mytable' );
$table->integer('id', 11, '', true );
$table->string('name' );
$table->string('description' );
$table->up();
```

```
(new TableSeeder( 'mytable' ))->seed( $values );

```

insert data from values variable into table.

TRY Have Fun. No 3RR-ors

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2115d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7103084?v=4)[Err404](/maintainers/Err404)[@ERR404](https://github.com/ERR404)

---

Top Contributors

[![3RR404](https://avatars.githubusercontent.com/u/38255370?v=4)](https://github.com/3RR404 "3RR404 (1 commits)")

### Embed Badge

![Health badge](/badges/err404-table-creator/health.svg)

```
[![Health](https://phpackages.com/badges/err404-table-creator/health.svg)](https://phpackages.com/packages/err404-table-creator)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[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.

45444.2k1](/packages/pressbooks-pressbooks)[lion/bundle

Lion-framework configuration and initialization package

122.3k4](/packages/lion-bundle)

PHPackages © 2026

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