Ocramius/PackageVersions

:package: Composer addon to efficiently get installed packages' version numbers

View on GitHub ↗Jump to charts ↓

Ocramius/PackageVersions has 3k+ stars and 70+ forks on GitHub, is written in PHP, and was last pushed on Oct 17, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 2 hours ago
Added to GitGenius on September 21st, 2026
Created on January 25th, 2016
Open Issues & Pull Requests: 2 (+0)
GitHub issues: Enabled
Number of forks: 72
Total Stargazers: 3,167 (+0)
Total Subscribers: 17 (+0)

Repository Insights (GitGenius)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

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

Recent activity

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

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

PackageVersions is a Composer addon that retrieves installed packages' version numbers efficiently.

The tool solves the problem of accessing package version information at runtime without the overhead of parsing composer.lock or vendor metadata repeatedly. It works by generating a static map of installed packages and their versions during Composer installation, which the application can then query directly without file I/O or parsing overhead.

Developers should choose this tool when their application needs to report or use version information for installed dependencies and performance matters. It suits projects that frequently access version data or run in environments where file system access is constrained. The approach is particularly valuable for applications that would otherwise need to repeatedly read and parse Composer's lock file or vendor directory metadata.

The project shows consistent maintenance with regular updates addressing compatibility and bug fixes. Development activity demonstrates responsiveness to issues and pull requests. The codebase maintains focus on its narrow, specific purpose without feature creep.