All Projects → sandrokeil → php-to-zephir

sandrokeil / php-to-zephir

Licence: other
Convert PHP 7 files to Zephir zep files and create a native PHP extension

Programming Languages

PHP
23972 projects - #3 most used programming language
Zephir
11 projects

Projects that are alternatives of or similar to php-to-zephir

discoursegraphs
linguistic converter / merging tool for multi-level annotated corpora. graph-based (using Python and NetworkX).
Stars: ✭ 47 (+88%)
Mutual labels:  converter
bbcode
A BBCode parser and converter written in PHP.
Stars: ✭ 32 (+28%)
Mutual labels:  converter
FileRenameBot
A Telegram File Renamer Bot With Permanent Thumbnail Support Also It Can Convert Files Into Video!!
Stars: ✭ 369 (+1376%)
Mutual labels:  converter
man-to-md
Converts man pages to Markdown
Stars: ✭ 51 (+104%)
Mutual labels:  converter
dalvikgate
Lightweight dex / odex / apk to jar converter
Stars: ✭ 32 (+28%)
Mutual labels:  converter
zephir-sublime
Sublime Text syntax highlighting for for Zephir
Stars: ✭ 41 (+64%)
Mutual labels:  zephir-language
ARF-Converter
Bulk ARF file converter
Stars: ✭ 15 (-40%)
Mutual labels:  converter
pdo sqlcipher
SQLCipher PDO (PHP Data Objects) driver
Stars: ✭ 17 (-32%)
Mutual labels:  php-extension
xToBatConverter
Generate a ms batch file and inject a files inside of it. When the batch is executed, the files are extracted and executed.
Stars: ✭ 17 (-32%)
Mutual labels:  converter
qTsConverter
A simple tool to convert qt translation file (ts) to other format (xlsx / csv) and vice versa
Stars: ✭ 26 (+4%)
Mutual labels:  converter
EMBLmyGFF3
An efficient way to convert gff3 annotation files into EMBL format ready to submit.
Stars: ✭ 52 (+108%)
Mutual labels:  converter
fortran-legacy-tools
Three tools to deal with Fortran code: fixed to free source form converter, upper- to lowercase converter, formatter for variable declarations
Stars: ✭ 40 (+60%)
Mutual labels:  converter
php-document-creator
a document creator for php extension.一个用于生成PHP扩展文档的工具
Stars: ✭ 25 (+0%)
Mutual labels:  php-extension
php-mustache
Mustache PHP Extension
Stars: ✭ 55 (+120%)
Mutual labels:  php-extension
ddal
DDAL(Distributed Data Access Layer) is a simple solution to access database shard.
Stars: ✭ 33 (+32%)
Mutual labels:  converter
csv2html
Convert CSV files to HTML tables
Stars: ✭ 64 (+156%)
Mutual labels:  converter
ocr2text
Convert a PDF via OCR to a TXT file in UTF-8 encoding
Stars: ✭ 90 (+260%)
Mutual labels:  converter
typeconv
Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType
Stars: ✭ 229 (+816%)
Mutual labels:  converter
ttconv
Subtitle conversion. Converts STL, SRT, TTML and SCC into TTML, WebVTT and SRT.
Stars: ✭ 88 (+252%)
Mutual labels:  converter
zipreport
Python PDF reporting library
Stars: ✭ 15 (-40%)
Mutual labels:  converter

PHP to Zephir

Build Status Coverage Status

Converts PHP 7 files to Zephir zep files and can create Zephir prototype files of external used libraries.

Requirements

  • PHP >= 7.1

Installation

$ composer require --dev sandrokeil/php-to-zephir

Usage

To create Zephir zep files of your PHP files run:

$ bin/php2zephir php2zephir:zep:create [source path/file] [destination path/file]

To create Zephir prototypes for external libraries run:

$ bin/php2zephir php2zephir:prototype:create [source path/file] [destination file prototype.php]

Create PHAR

A PHAR file can be generated with box.

$ php box.phar compile

Unit Tests

$ docker-compose run --rm php vendor/bin/phpunit

Zephir Docker Image

If you want to compile your Zephir zep files for PHP Alpine 3.8 Docker images try my Zephir Docker images.

Limitations

  • Can not handle reserved variable names like $resource, it would result in compilation error
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].