Download the PHP package milesasylum/schnoop without Composer
On this page you can find all versions of the php package milesasylum/schnoop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download milesasylum/schnoop
More information about milesasylum/schnoop
Files in milesasylum/schnoop
Download milesasylum/schnoop
More information about milesasylum/schnoop
Files in milesasylum/schnoop
Vendor milesasylum
Package schnoop
Short Description Schnoop provides a convenient PHP interface for inspecting a database schema.
License MIT
Homepage https://github.com/courtney-miles/schnoop
Package schnoop
Short Description Schnoop provides a convenient PHP interface for inspecting a database schema.
License MIT
Homepage https://github.com/courtney-miles/schnoop
Please rate this library. Is it a good library?
Informations about the package schnoop
Schnoop: PHP Database Schema Inspector
Schnoop provides a convenient PHP interface for inspecting a MySQL database schema and producing the DDL statements for the schema.
It is intended to assist with code generation in development environments.
Disclaimer: It is not advisable to use this package in production environments.
Examples
Construct the Schnoop object
To construct the Schnoop object, first establish a PDO connection to your database server, then supply the connection to SchnoopFactory::create()
.
Get a list of databases
Inspect a database
Inspect a table
Inspect a column
Inspect the column data type
Inspect table indexes
Inspect table triggers
`
Todo
- Add method
DataTypeFactoryInterface::getTypeName()
to be used withDataTypeFactory::addHandler()
. - Introduced a repository to prevent duplicate resources from being constructed.
- Add support for Views.
All versions of schnoop with dependencies
PHP Build Version
Package Version
Requires
php Version
7.2 - 8.3
ext-pdo Version *
ext-mysqlnd Version *
milesasylum/schnoop-schema Version ^0.3.1
ext-pdo Version *
ext-mysqlnd Version *
milesasylum/schnoop-schema Version ^0.3.1
The package milesasylum/schnoop contains the following files
Loading the files please wait ....