stougeiro / support
A small helper library providing generic support utilities for PHP applications.
Fund package maintenance!
Requires
- php: >=8.1
Requires (Dev)
- phpstan/phpstan: ^2.2
This package is auto-updated.
Last update: 2026-07-31 22:21:55 UTC
README
Support
A lightweight collection of utility helpers designed to provide small, predictable, and strongly typed building blocks for PHP applications. Each helper focuses on a single responsibility, offering safe and consistent operations for arrays, strings, files, directories, tokens, dates, and more.
✨ Features
-
Minimalistic helpers
Small, focused classes that solve common problems without adding complexity. -
Strong typing
Fully compatible with PHPStan Level 9, ensuring maximum static‑analysis integrity. -
Consistent API
Static methods, clear naming, predictable behavior. -
No dependencies
Pure PHP utilities — fast, portable, and framework‑agnostic. -
Safety‑oriented
Careful handling of strings, paths, files, tokens, and sensitive values.
📦 Installation
Install via Composer:
composer require stougeiro/support
🧠 Why Support?
Modern applications often need small, reliable helpers — but frameworks tend to ship bloated or inconsistent utilities. Support solves this by providing:
- predictable behavior
- strict typing
- zero dependencies
- clear semantics
- safe operations
- uniform design across all helpers
It’s a foundation you can trust, especially when building systems that value clarity, correctness, and long‑term maintainability.
🤝 Contributions
Contributions are welcome. Feel free to open issues or submit pull requests.