flamecore / common
Lightweight utilities for common use cases
Fund package maintenance!
Liberapay
Requires
- php: >=8.0
Requires (Dev)
- phpunit/phpunit: ^9.0
- symplify/easy-coding-standard: ^10.2
Suggests
- ext-iconv: *
- ext-intl: *
- ext-mbstring: *
This package is auto-updated.
Last update: 2024-10-23 23:08:25 UTC
README
This package contains a set of lightweight utilities for common use cases.
It provides the following extensions to core PHP functionality:
- Contracts – Some common interfaces for interoperability
- Class Strings – Many useful string and text functions
- Class Arrays – Functions to check and manipulate arrays
- Class DateTime – Advanced class for managing times and dates
- Class Format – Formatting helpers for dates/times and numbers
- Class Callback – PHP callback related functions
- Trait StaticClass – Create purely static classes
Installation
Install via Composer
Install Composer if you don't already have it present on your system.
To install the library, run the following command and you will get the latest version:
$ composer require flamecore/common
Requirements
- You must have at least PHP version 8.0 installed on your system.
Security
If you discover any security related issues, please email security@flamecore.org instead of using the issue tracker.