Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

jenschude/raml-php-generator

Repository files navigation

RAML PHP Generator

NPM version NPM downloads Build status

Generate a PHP API client from RAML.

Installation

npm install raml-php-generator -g

Usage

This module depends on raml-generator and can be used globally or locally with JavaScript.

  • Chained DSL generation
  • README.md output

Global

raml-php-generator api.raml -o php-client

Locally

var jsGenerator = require('raml-php-generator')

var output = jsGenerator(/* api, data */)

or

npm build
node dist/bin.js api.raml -o php-client

License

Apache License 2.0