2017 © Pedro Peláez
 

composer-plugin zephir-composer-plugin

Composer plugin to supports installation of zephir-lang based sources

image

serafim/zephir-composer-plugin

Composer plugin to supports installation of zephir-lang based sources

  • Sunday, April 16, 2017
  • by Serafim
  • Repository
  • 1 Watchers
  • 6 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Zephir Composer Plugin

This is easy way to compile and install zephir sources though composer dependency manager., (*1)

, (*2)

Usage

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)

Fast start (plugin testing)

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)

The Versions

16/04 2017

dev-master

9999999-dev

Composer plugin to supports installation of zephir-lang based sources

  Sources   Download

MIT

The Requires

  • php >=7.0
  • composer-plugin-api ^1.0

 

The Development Requires