PHPackages                             zwcway/php-to-zephir - 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. zwcway/php-to-zephir

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zwcway/php-to-zephir
====================

将PHP代码转换成Zephir

1.0.0(7y ago)2261PHP

Since Aug 3Pushed 7y ago2 watchersCompare

[ Source](https://github.com/zwcway/php-to-zephir)[ Packagist](https://packagist.org/packages/zwcway/php-to-zephir)[ Docs](https://github.com/zwcway/php-to-zephir)[ RSS](/packages/zwcway-php-to-zephir/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (1)Used By (0)

Php to Zephir
=============

[](#php-to-zephir)

> Convert PHP to Zephir.

This project is builded on top of nikic/PHP-Parser

Install
=======

[](#install)

```
composer require zwcway/php-to-zephir
```

How to use
==========

[](#how-to-use)

```
vendor/bin/php-to-zephir phpToZephir:convert myDirToConvert
```

It converts all files recursivly to [Zephir](https://github.com/phalcon/zephir) language.

Issue
=====

[](#issue)

If you find a bug, please report it by new issue (with tested php code to see error).

Fatal error :'(
===============

[](#fatal-error-)

If you find a fatal error during converting, add --debug and identify where the fatal error happen. Then open issue !

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2839d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01c6d31ed10925edb2eab875115a4afbf9e558729612ad368617d7826f63dec5?d=identicon)[zwcway](/maintainers/zwcway)

---

Top Contributors

[![zwcway](https://avatars.githubusercontent.com/u/9103329?v=4)](https://github.com/zwcway "zwcway (1 commits)")

---

Tags

phpconvertconversionzephir

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zwcway-php-to-zephir/health.svg)

```
[![Health](https://phpackages.com/badges/zwcway-php-to-zephir/health.svg)](https://phpackages.com/packages/zwcway-php-to-zephir)
```

###  Alternatives

[cartalyst/converter

A framework agnostic measurement conversion and formatting package featuring multiple types of measurements and currency conversion.

88434.4k7](/packages/cartalyst-converter)[yzen.dev/plain-to-class

Class-transformer to transform your dataset into a structured object

16293.9k6](/packages/yzendev-plain-to-class)

PHPackages © 2026

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