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 8, 2024 via composer

symfony/polyfill-php83 v1.28.0

Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions
Package summary
Share
0
issues
1
license
2
MIT
Package created
3 Nov 2022
Version published
16 Aug 2023
Maintainers
1
Total deps
2
Direct deps
1
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
2 Packages, Including:
symfony/polyfill-php80@v1.29.0
symfony/polyfill-php83@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

1
All Dependencies CSV
β“˜ This is a list of symfony/polyfill-php83 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
symfony/polyfill-php80v1.29.0-MIT
prod

Visualizations

Frequently Asked Questions

What does symfony/polyfill-php83 do?

Symfony's polyfill-php83 package is designed to bring the features of PHP 8.3+ to prior PHP versions. It enables developers to use certain PHP 8.3 functionalities on lower PHP versions, expanding compatibility and developing efficiency. This includes features such as json_validate, Override, mb_str_pad, ldap_exop_sync, ldap_connect_wallet, stream_context_set_options, and specific Date*Exception/Error classes. The benefits of using symfony/polyfill-php83 include streamlined PHP development and enhanced cross-version compatibility.

How do you use symfony/polyfill-php83?

To make use of the symfony/polyfill-php83, you would first need to add the package to your project through the package manager Composer. If Composer isn't already installed on your system, you can download it and then run the following command in your project directory:

composer require symfony/polyfill-php83

You can use the provided features just as you typically would in PHP 8.3:

if(json_validate($jsonString)) {
  //process JSON
}

mb_str_pad($str, $pad_length, $pad_string, $pad_type);
//or any other function available

Remember that the purpose of this polyfill package is to allow usage of these functions as if you were running PHP 8.3, even if you're actually using an earlier version.

Where are the symfony/polyfill-php83 docs?

The principal documentation for symfony/polyfill-php83 is available in the main Polyfill README on the Symfony GitHub repository. This README provides general instructions and details about the polyfill package. For more specific information about PHP 8.3 features and their initial RFCs, you can refer to the links provided in the README. So, check out the linked README for detailed usage instructions, feature definitions, and much more about the symfony polyfill-php83 package.

All Versions