bazlur36/api-php

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

This package is not auto-updated.

Last update: 2025-09-20 01:05:28 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);
    
    ?>