Download the PHP package inlm/schema-generator without Composer
On this page you can find all versions of the php package inlm/schema-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inlm/schema-generator
More information about inlm/schema-generator
Files in inlm/schema-generator
Package schema-generator
Short Description Schema generator for PHP apps.
License BSD-3-Clause
Informations about the package schema-generator
Schema Generator
Installation
Download a latest package or use Composer:
Schema Generator requires PHP 5.6.0 or later.
Usage
Documentation
Supported databases:
- MySQL
How it works?
1) adapter loads old schema if exists. Schema can be stored in file, memory,... 2) extractor extracts new schema from entities, file, database,... 3) generator generates diff between old and new schema 4) dumper dumps differences to SQL file, database,... 5) adapter saves new schema (only if is test mode disabled)
Extractors
Extracts new database schema from given source - entities, database or file.
- LeanMapperExtractor (package
inlm/schema-generator-leanmapper
) - DibiExtractor (package
inlm/schema-generator-dibi
) - NeonExtractor
Adapters
Persists database schema in file, memory,...
- NeonAdapter
- MemoryAdapter
- DibiAdapter (package
inlm/schema-generator-dibi
)
Dumpers
Dumps changes of database schema into migration file, database,...
- SqlDumper
- SqlMemoryDumper
- DibiDumper (package
inlm/schema-generator-dibi
) - NullDumper
Loggers
You can use loggers from czproject/logger
.
CzProject\Logger\CliLogger
CzProject\Logger\MemoryLogger
CzProject\Logger\OutputLogger
- or any else
More
- Default Types
- Custom Types
- Table Options
- Examples
- Integrations
- Bridges
[!TIP] If you need generate
... AFTER column
inALTER TABLE
statements, call:
License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/
All versions of schema-generator with dependencies
nette/neon Version ^2.4 || ^3.0
nette/utils Version ^2.4 || ^3.0 || ^4.0
czproject/sql-schema Version ^3.1
czproject/sql-generator Version ^2.0
czproject/logger Version ^0.12.0
czproject/dependency-php Version ^2.0