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.
- 🎯 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
composer require phuture/coherenceThank you for considering contributing to this project! You can read the Contribution Guide and our Developer Workflow Guide.
This project follows a Code of Conduct that all community members and contributors are expected to adhere to our Contributor Code of Conduct.
This project is open-source and available under the MIT License.