mjaschen / php-apcu-utils
A set of utility functions for the APCu PHP extension.
1.0.0
2021-03-12 13:33 UTC
Requires
- php: >=7.3
- ext-apcu: *
Requires (Dev)
- ergebnis/composer-normalize: ^2.13
- friendsofphp/php-cs-fixer: ^2.18
- php-parallel-lint/php-parallel-lint: ^1.2
- squizlabs/php_codesniffer: ^3.5
- vimeo/psalm: ^4.6
README
A set of utility functions for the APCu PHP extension.
Installation
Using Composer, just add it to your composer.json
by running:
composer require mjaschen/php-apcu-utils
Compatibility
The APCu Utils require PHP >= 7.3.
Usage/Examples
<?php use MarcusJaschen\APCu\ApcuUtils; printf('APCu fragmentation is %.1f%%', ApcuUtils::getFragmentationRatio());