ingenerator / php-utils
Simple, standalone utility classes for PHP applications
v2.5.1
2025-09-17 12:52 UTC
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0
- ext-json: *
- ext-mbstring: ~8.2.0 || ~8.3.0 || ~8.4.0
- ext-pdo: ~8.2.0 || ~8.3.0 || ~8.4.0
- ext-sodium: ~8.2.0 || ~8.3.0 || ~8.4.0
- psr/log: ^1.1 || ^2.0 || ^3.0
Requires (Dev)
- ergebnis/phpunit-slow-test-detector: ^2.15
- mikey179/vfsstream: ^1.6.12
- phpunit/phpunit: ^11.5
This package is auto-updated.
Last update: 2026-06-17 14:20:50 UTC
README
php-utils provides common, simple, dependency-free PHP helpers. Note that the selection and operation of utility functions is (and always will be) opinionated based on our needs.
Installing php-utils
$> composer require ingenerator/php-utils
Functionality included
- Support for managing runtime/environment configuration
- Logging framework for outputting application and request logs to Stackdriver via stderr/stdout (see StackdriverApplicationLogger)
- Utils for working with Associative Arrays (some ported from Kohana framework)
Contributing
Contributions are welcome but please contact us before you start work on anything : this is primarily an internally-focused package so we may have particular requirements / opinions that differ from yours.
Contributors
This package has been sponsored by inGenerator Ltd
- Andrew Coulton acoulton - Lead developer
Licence
Licensed under the BSD-3-Clause Licence