Skip to content

phuture-dev/coherence

Phuture Coherence

A coherent collection of utility helpers for PHP.

PHP Version Latest Release Tests Status License

Introduction

Coherence is a modern PHP utility library that brings consistency and elegance to your codebase with well-thought, fluent, chainable helpers.

This repository contains the official Phuture Coherence package. To learn more about Phuture Coherence and how to use this package, please consult the official documentation.

Features

  • 🎯 Arrays - Advanced manipulation and data processing for arrays
  • 📞 Callables - Function composition, memoization, throttling, and retry utilities
  • 📅 Dates - Immutable date and time creation, formatting, arithmetic, and comparison
  • 📁 Files - Filesystem manipulation, path utilities, searching, and MIME detection
  • 🔐 Hash - Secure hashing, passwords, HMAC, and more
  • 🌐 HTML - HTML generation, escaping, conversion to/from Markdown and plain text
  • 🔢 Numbers - Precise arithmetic, comparison, formatting, and human-readable output
  • 🔍 Reflector - Inspect classes, methods, properties, and functions at runtime
  • 📝 Strings - Multibyte-safe string utilities, case conversion, and validation

Installation

composer require phuture/coherence

Contributing

Thank you for considering contributing to this project! You can read the Contribution Guide and our Developer Workflow Guide.

Code of Conduct

This project follows a Code of Conduct that all community members and contributors are expected to adhere to our Contributor Code of Conduct.

License

This project is open-source and available under the MIT License.

About

A coherent collection of utility helpers for PHP.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages