symfony/polyfill

PHP polyfills

Hosted by Symfony

View on GitHub ↗Jump to charts ↓Open shareable report →

symfony/polyfill has 2.5k+ stars and 150+ forks on GitHub, is written in PHP, and was last pushed on Oct 15, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 3 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on October 12th, 2026
Created on October 22nd, 2015
Open Issues & Pull Requests: 3 (+0)
GitHub issues: Enabled
Number of forks: 160
Total Stargazers: 2,813 (+0)
Total Subscribers: 35 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 15.5 hours
Mean response time: 87.5 days
90th percentile: 100.3 days
Tracked items: 46

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 8 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 4

Top labels

  • help wanted (8)
  • bug (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Symfony Polyfill is a collection of PHP polyfills that backports features from newer PHP versions to older ones and provides compatibility layers for extensions and functions.

The project solves the problem of maintaining code compatibility across different PHP versions and environments where certain extensions may not be available. It works by providing drop-in implementations of newer language features and standard library functions, allowing developers to use modern PHP APIs while supporting older runtime versions. Rather than requiring conditional logic throughout an application, the polyfills can be included to make newer functionality available on older PHP versions.

Developers should adopt this tool when they need to support a range of PHP versions or when their deployment environment lacks certain extensions. It suits projects that must maintain backward compatibility while gradually modernizing their codebase. The polyfills are particularly valuable for library authors and framework users who cannot require the latest PHP version from all consumers. The project is part of the Symfony ecosystem and integrates naturally with Symfony applications, though the polyfills are standalone and can be used in any PHP project.

The project maintains a steady stream of updates to add new polyfills as PHP evolves and to refine existing implementations. Pull requests receive consistent review and feedback from maintainers. The issue tracker shows active engagement with user-reported problems and feature requests. Releases are published regularly to incorporate improvements and new polyfill additions. The codebase demonstrates careful attention to edge cases and compatibility, with implementations tested against the behavior of native PHP functions across versions.