PHPackages                             serafim/zephir-composer-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. serafim/zephir-composer-plugin

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

serafim/zephir-composer-plugin
==============================

Composer plugin to supports installation of zephir-lang based sources

7121PHP

Since Apr 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/SerafimArts/zephir-composer-plugin)[ Packagist](https://packagist.org/packages/serafim/zephir-composer-plugin)[ RSS](/packages/serafim-zephir-composer-plugin/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Zephir Composer Plugin
======================

[](#zephir-composer-plugin)

This is easy way to compile and install zephir sources though composer dependency manager.

 [![](https://camo.githubusercontent.com/956cf0cf923b43325ef1b6c15eb0bb40445796e7b2ce49a33ccb7d62d6ff43c3/68747470733a2f2f686162726173746f726167652e6f72672f66696c65732f3836312f3538662f3335662f38363135386633356634323634336239613035373933663163353835393863312e676966)](https://camo.githubusercontent.com/956cf0cf923b43325ef1b6c15eb0bb40445796e7b2ce49a33ccb7d62d6ff43c3/68747470733a2f2f686162726173746f726167652e6f72672f66696c65732f3836312f3538662f3335662f38363135386633356634323634336239613035373933663163353835393863312e676966)

Usage
-----

[](#usage)

1. Add plugin: `composer require serafim/zephir-composer-plugin`
2. Open your [`composer.json`](https://getcomposer.org/doc/01-basic-usage.md).
3. Add path to [`config.json`](https://docs.zephir-lang.com/en/latest/config.html) into `extra`.`zephir` section:

```
{
    "require": {
        "serafim/zephir-composer-plugin": "dev-master@dev"
    },
    "extra": {
        "zephir": [
            "your/src/config.json"
        ]
    }
}
```

4. Run `composer install` or `composer update`

Fast start (plugin testing)
---------------------------

[](#fast-start-plugin-testing)

See [zephir-example](https://github.com/SerafimArts/zephir-example). This is an example of "Hello World" zephir extension.

1. Add "hello world" (`serafim/zephir-example`) into your `composer.json`:

```
{
    "require": {
        "serafim/zephir-composer-plugin": "dev-master@dev",
        "serafim/zephir-example": "~1.0"
    }
}
```

2. Run `composer install` or `composer update`

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (11 commits)")

---

Tags

compilercomposerinstallerpluginzephir

### Embed Badge

![Health badge](/badges/serafim-zephir-composer-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/serafim-zephir-composer-plugin/health.svg)](https://phpackages.com/packages/serafim-zephir-composer-plugin)
```

###  Alternatives

[symfony/ux-react

Integration of React in Symfony

381.6M3](/packages/symfony-ux-react)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
