phuture / coherence
v1.0.0
2026-05-25 19:37 UTC
Requires
- php: ^8.1
- league/commonmark: ~2.8.0
- league/html-to-markdown: ~5.1.0
- nelexa/zip: ~4.0.0
- nette/php-generator: ~4.2.0
- phuture/continuum: ~0.1.0
- symfony/polyfill-deepclone: ~1.34.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.92.0
- nette/tester: ^2.5
- phpstan/phpstan: ^2.0
- squizlabs/php_codesniffer: ^3.7
README
Phuture Coherence
A coherent collection of utility helpers for PHP.
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.