Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Latest commit

 

History

History
59 lines (35 loc) · 2.1 KB

README.md

File metadata and controls

59 lines (35 loc) · 2.1 KB

Indigo DBAL Extensions

Build Status Code Coverage Latest Stable Version Total Downloads Scrutinizer Code Quality License Dependency Status

Some useful DBAL related things.

Install

Via Composer

{
    "require": {
        "indigophp/dbal-extensions": "@stable"
    }
}

Usage

Currently implemented features:

  • EnumType: Extend this type to implement custom enumerations
  • MoneyType: Use this type if your monetary values are not strictly tied to a currency
  • FullMoneyType: Use this type if your monetary values are strictly tied to a currency (values are stored as string)

Note: You must add the required types to the DBAL Type registry.

Testing

$ codecept run

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.