zephir-lang/zephir

Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP

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

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 21 minutes ago
Added to GitGenius on September 20th, 2026
Created on July 17th, 2013
Open Issues & Pull Requests: 50 (+0)
GitHub issues: Enabled
Number of forks: 460
Total Stargazers: 3,383 (+0)
Total Subscribers: 181 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.6 hours
Mean response time: 231.3 days
90th percentile: 362.5 days
Tracked items: 197

Maintainer activity

1 person did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 64% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "php" is answered fastest, typically in about an hour, while "enhancement" waits about 31 hours. 83% of issues opened in the past year have been closed, leaving a working backlog. Three people close 99% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 48
New in 7 days: 2
Closed in 7 days: 5
Avg open age: 2,135 days
Stale 30+ days: 30
Stale 90+ days: 22

Recent activity

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

Top labels

  • bug (71)
  • nfr (55)
  • enhancement (23)
  • php (16)
  • discussion (6)
  • docs (5)
  • minor (4)
  • rfc (4)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Zephir is a compiled high-level language that eases the creation of C-extensions for PHP.

Writing C-extensions for PHP traditionally requires deep knowledge of the PHP C API and manual memory management, both significant barriers to entry. Zephir solves this by providing a high-level syntax that compiles down to C code, abstracting away the complexity of the PHP internals. Developers write in Zephir's own language, which resembles PHP but with static typing and additional features, then the compiler generates the necessary C code and builds it into a PHP extension automatically.

Zephir suits developers who need to optimize performance-critical PHP code without learning C or the PHP extension API in detail. It works well for projects where specific functions or classes need the speed of compiled code while the rest of the application remains in PHP. The tool is particularly relevant for those building libraries or frameworks where performance matters, as it allows incremental optimization of hot paths rather than rewriting entire applications in C.

The project maintains active engagement with its community through regular issue responses and pull request reviews. Development includes consistent updates to the compiler and language features, with work spanning both core functionality and documentation improvements. The codebase receives ongoing refinement to handle edge cases and improve code generation quality.