comely-io / utils
Utilities for Comely Apps
Installs: 1 026
Dependents: 8
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.1
- ext-openssl: *
- comely-io/data-types: ^1.0.23
README
Utilities — Collection of mini-components (Security/Cipher, ObjectMapper, Validator, Helpers, etc...)
Prerequisites
- PHP >= 7.1
- ext-openssl
- ext-json
- ext-bcmath
- ext-mbstring
Installation
composer require comely-io/data-types
Events
- Simple Events Register
Security
- Cipher Component (AES-256-CBC encryption via OpenSSL)
- PRNG
- Passwords (Generate, Strength check, Hash)
Time
- Time (Helper functions)
- TimeUnits (Serialize number of seconds to/since to strings
OOP
- ObjectMapper (Map values from an associative array to an object)
Validator
- Data validation