1. Go to this page and download the library: Download qkskima/qkskima-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
final class FieldTypes
{
public const VARCHAR = 'string';
public const TEXT = 'text';
public const INTEGER = 'integer';
public const FLOAT = 'float';
public const DECIMAL = 'decimal';
public const DATETIME = 'datetime';
public const TIMESTAMP = 'timestamp';
public const TIME = 'time';
public const DATE = 'date';
public const BOOLEAN = 'boolean';
public const BELONGS_TO = 'belongs_to';
public const HAS_MANY = 'has_many';
public const HAS_ONE = 'has_one';
public const PRIMARY_KEY = 'primary_key';
public const INHERITANCE_COLUMN = 'inheritance_column';
}