flamecore/common

Lightweight utilities for common use cases

dev-main 2022-10-23 15:54 UTC

This package is auto-updated.

Last update: 2024-11-23 23:22:02 UTC


README

Latest Stable Build Status Code Quality Coverage License

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.

Credits