2017 © Pedro Peláez
 

library php-datatypes

image

keboola/php-datatypes

  • Friday, April 6, 2018
  • by Keboola
  • Repository
  • 6 Watchers
  • 0 Stars
  • 2,738 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 12 % Grown

The README.md

Keboola Datatypes

Build Status Latest Stable Version Code Climate Test Coverage, (*1)

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., (*2)

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., (*3)

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., (*4)

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., (*5)

The Versions

06/04 2018

dev-najlos-variant

dev-najlos-variant

  Sources   Download

The Development Requires

by Ondrej Hlavacek