2017 © Pedro Peláez
 

library sql-schema

Library for describe of the database schema.

image

czproject/sql-schema

Library for describe of the database schema.

  • Sunday, June 24, 2018
  • by janpecha
  • Repository
  • 1 Watchers
  • 0 Stars
  • 355 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 54 % Grown

The README.md

CzProject\SqlSchema

Build Status Downloads this Month Latest Stable Version License, (*1)

Library for describe of the database schema., (*2)

Donate, (*3)

Installation

Download a latest package or use Composer:, (*4)

composer require czproject/sql-schema

CzProject\SqlSchema requires PHP 8.0 or later., (*5)

Usage

``` php use CzProject\SqlSchema\Index; $schema = new CzProject\SqlSchema\Schema;, (*6)

$table = $schema->addTable('book'); $table->addColumn('id', 'INT', NULL, array('UNSIGNED')); $table->addColumn('name', 'VARCHAR', array(200)); $table->addColumn('author_id', 'INT', NULL, array('UNSIGNED')); $table->addIndex(NULL, 'id', Index::TYPE_PRIMARY); $table->addIndex('name_author_id', array('name', 'author_id'), Index::TYPE_UNIQUE);, (*7)

$schema->getTables(); ```, (*8)


License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/, (*9)

The Versions

24/06 2018

dev-master

9999999-dev

Library for describe of the database schema.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

04/06 2018

v2.0.1

2.0.1.0

Library for describe of the database schema.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

24/04 2018

v2.0.0

2.0.0.0

Library for describe of the database schema.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

30/12 2017

v1.0.1

1.0.1.0

Library for describe of the database schema.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

28/06 2017

v1.0.0

1.0.0.0

Library for describe of the database schema.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires