mjaschen/php-apcu-utils

A set of utility functions for the APCu PHP extension.

1.0.0 2021-03-12 13:33 UTC

This package is auto-updated.

Last update: 2024-11-12 22:16:29 UTC


README

PHP APCu Utils Tests

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());