keboola/php-datatypes 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

keboola/php-datatypes

最新稳定版本:8.2.0

Composer 安装命令:

composer require keboola/php-datatypes

包简介

PHP datatypes for databases

README 文档

README

Build Status Latest Stable Version Code Climate Test Coverage

Introduction

This library is used for datatype definitions, validation and sql statement generation. Each type (Mysql, Redshift, Snowflake, GenericStorage) also provides a base type mapping that can be used to map types between different storage providers.

Base Types

There are currently 7 base types: String, Date, Timestamp, Integer, Numeric, Float, and Boolean. Any type class that extends Keboola\Datatype\Definition\Common should provide a mapping for it's types to the above set. This will allow us to map data-types between storage providers.

Build

git clone https://github.com/keboola/php-datatypes
cd php-datatypes
docker compose build
docker compose run --rm dev composer install

Tests Execution

Run tests with following command.

docker compose run --rm dev ./vendor/bin/phpunit

Coding Style

docker compose run --rm dev ./vendor/bin/phpcs --standard=psr2 --ignore=vendor -n .

License

MIT licensed, see LICENSE file.

统计信息

  • 总下载量: 165.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 16
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知