Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 7, 2024 via composer

symfony/polyfill-apcu v1.28.0

Symfony polyfill backporting apcu_* functions to lower PHP versions
Package summary
Share
0
issues
1
license
1
MIT
Package created
14 Jan 2016
Version published
26 Jan 2023
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
symfony/polyfill-apcu@v1.28.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of symfony/polyfill-apcu 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does symfony/polyfill-apcu do?

Symfony/polyfill-apcu is a valuable toolset in the Symfony ecosystem, designed primarily to provide apcu_* functions and the APCuIterator class for end users who work with the legacy APC extension. This essentially allows for the backporting of these functionalities to PHP versions that would not otherwise support them, thereby enabling broader compatibility and the utilization of APCu features across a range of PHP environments.

How do you use symfony/polyfill-apcu?

Using symfony/polyfill-apcu is fairly straightforward. As a part of the larger Symfony Polyfill components, it can be integrated into your PHP project using Composer. Firstly, you will need to have Composer installed. Then, navigate to your project directory in your terminal, and run the command:

composer require symfony/polyfill-apcu

Doing so will install the polyfill and enable its use in your application. You can now use the APCu functions as if your PHP version natively supports them. A usage example might look like this:

$data = array('key' => 'value');
apcu_store($data);
if (apcu_exists('key')) {
    $value = apcu_fetch('key');
    echo $value; // prints 'value'
}

The APCu functions are now ready to be used in lower PHP versions.

Where are the symfony/polyfill-apcu docs?

In terms of locating comprehensive documentation for the symfony/polyfill-apcu, it's included in the main polyfill documentation which is found in the primary README file for the Symfony Polyfill suite. The information for symfony/polyfill-apcu, along with all the other polyfills, can be found at the main Polyfill README. This documentation provides an expansive overview of its features, usage, and integration with Symfony and PHP overall.