dev-master
9999999-devComposer plugin to supports installation of zephir-lang based sources
MIT
The Requires
- php >=7.0
- composer-plugin-api ^1.0
The Development Requires
Composer plugin to supports installation of zephir-lang based sources
This is easy way to compile and install zephir sources though composer dependency manager., (*1)
, (*2)
1) Add plugin: composer require serafim/zephir-composer-plugin
2) Open your composer.json
.
3) Add path to config.json
into extra
.zephir
section:, (*3)
{ "require": { "serafim/zephir-composer-plugin": "dev-master@dev" }, "extra": { "zephir": [ "your/src/config.json" ] } }
4) Run composer install
or composer update
, (*4)
See zephir-example. This is an example of "Hello World" zephir extension., (*5)
1) Add "hello world" (serafim/zephir-example
) into your composer.json
:, (*6)
{ "require": { "serafim/zephir-composer-plugin": "dev-master@dev", "serafim/zephir-example": "~1.0" } }
2) Run composer install
or composer update
, (*7)
Composer plugin to supports installation of zephir-lang based sources
MIT