Download the PHP package fyre/schema without Composer
On this page you can find all versions of the php package fyre/schema. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package schema
FyreSchema
FyreSchema is a free, open-source database schema library for PHP.
Table Of Contents
- Installation
- Schema Registry
- Schemas
- Table Schemas
Installation
Using Composer
In PHP:
Schema Registry
Get Cache
Get the Cacher.
Get Schema
Get the Connection.
$connection
is a Connection.
Set Cache
Set the Cacher.
$cache
is a Cacher.
Set Handler
Set a Connection class.
$connectionClass
is a string representing the Connection class name.$schemaClass
is a string representing the Schema class name.
Schemas
Clear
Clear data from the cache.
Describe
Get the TableSchema for a table.
$name
is a string representing the table name.
Get Connection
Get the Connection.
Get Database Name
Get the database name.
Has Table
Determine if the schema has a table.
$name
is a string representing the table name.
Table
Get the data for a table.
$name
is a string representing the table name.
Table Names
Get the names of all schema tables.
Tables
Get the data for all schema tables.
Table Schemas
Clear
Clear data from the cache.
Column
Get the data for a table column.
$name
is a string representing the column name.
Column Names
Get the names of all table columns.
Columns
Get the data for all table columns.
Default Value
Get the default value for a column.
$name
is a string representing the column name.
This method will evaluate expression values (eg. current_timestamp()).
Foreign Key
Get the data for a table foreign key.
$name
is a string representing the foreign key name.
Foreign Keys
Get the data for all table foreign keys.
Get Schema
Get the Schema.
Get Table Name
Get the table name.
Get Type
Get the Type parser for a column.
$name
is a string representing the column name.
Has Column
Determine if the table has a column.
$name
is a string representing the column name.
Has Foreign Key
Determine if the table has a foreign key.
$name
is a string representing the foreign key name.
Has Index
Determine if the table has an index.
$name
is a string representing the index name.
Index
Get the data for a table index.
$name
is a string representing the index name.
Indexes
Get the data for all table indexes.
Is Nullable
Determine if a table column is nullable.
$name
is a string representing the column name.
Primary Key
Get the primary key for the table.