Skip to content

OpenSourceZombie/SchemaBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Generate SQL statments using PHP
Inspired by Laravel SchemaBuilder

##How to use it 

```

require 'Schema.php';

$userSchema = new Schema();
$SerSchema->create("users", function($table){
    $table->INT("id")->autoinc()->default_value(0);
    $table->VARCHAR("username" ,250);
    $table->TEXT("bio")->nullable()->max(200);
})->generate();

```

About

Generate SQL statements with PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages