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 1w 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 37% 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

2068d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b8bf939878e325fcdc1e0e9eadd470d286f9edeb8b12625474798465720affec?d=identicon)[Err404](/maintainers/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

[mukadi/wordpress-bundle

Integrate wordpress and symfony in the same application

212.8k1](/packages/mukadi-wordpress-bundle)

PHPackages © 2026

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