2017 © Pedro Peláez
 

library php-magnum-client

Magnum CI API PHP Client

image

snide/php-magnum-client

Magnum CI API PHP Client

  • Tuesday, February 25, 2014
  • by pdenis
  • Repository
  • 0 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Magnum CI API PHP Client

A simple PHP client for Magnum CI API, (*1)

Build Status Scrutinizer Quality Score Code Coverage Latest Stable Version Total Downloads License, (*2)

Installation

Installation by Composer

If you use composer, add php-magnum-client library as a dependency to the composer.json of your application, (*3)

    "require": {
        ...
        "snide/php-magnum-client": "dev-master"
        ...
    },

Usage

Getting Project info :

<?php

include_once('../vendor/autoload.php');

use Snide\Magnum\Client;
use Snide\Magnum\Model\User;
use Snide\Magnum\Model\Project;

$client = new Client();
$project = new Project();
$project->setApiToken('YourProjectAPIKey');
$project = $client->fetchProject($project); // Fetch project & builds
$project = $client->fetchProject($project, false); // Fetch project without builds

Getting User info :

<?php

include_once('../vendor/autoload.php');

use Snide\Magnum\Client;
use Snide\Magnum\Model\User;
use Snide\Magnum\Model\Project;

$client = new Client();
$user = new User();
$user->setApiToken('YourProjectAPIKey');
$user = $client->fetchProject($user); // Fetch user profile

That's all!, (*4)

The Versions

25/02 2014

dev-master

9999999-dev http://github.com/pdenis/magnum-client

Magnum CI API PHP Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pascal DENIS

api php library client snide mangum ci

20/02 2014

1.0.0

1.0.0.0 http://github.com/pdenis/magnum-client

Magnum CI API PHP Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pascal DENIS

api php library client snide mangum ci