bazlur36/api-php

API for PHP

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/bazlur36/api-php

dev-master 2017-08-09 13:34 UTC

This package is not auto-updated.

Last update: 2025-12-27 02:30:32 UTC


README

This is a language-specific API client for ReadMe Build. It's based on the api spec.

Installation

###Using with Composer

composer require bazlur36/api-php=dev-master

Usage

<?php
    require __DIR__ . '/vendor/autoload.php';
    
    use ReadmeAPI\Build;
    
    $build = new Build();
    $build->config('abdul_f9cfcade4264cba870585a','');
    $rp = $build->run('math','multiply',array('numbers' => array(1,2,3)));
    
    print_r($rp);

?>

###Using without Composer Download the Build.php file from https://github.com/bazlur36/readme/blob/master/src/Build.php and use as following

<?php
require 'YOUR_PATH/Build.php';
    use ReadmeAPI\Build;
    
    $build = new Build();
    $build->config('abdul_f9cfcade4264cba870585a','');
    $rp = $build->run('math','multiply',array('numbers' => array(1,2,3)));
    
    print_r($rp);
    
    ?>