PHPackages                             necromant2005/bigml-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. necromant2005/bigml-php-sdk

ActiveLibrary[API Development](/categories/api)

necromant2005/bigml-php-sdk
===========================

BigML php SDK

1.5.1(11y ago)418.3k2[1 issues](https://github.com/necromant2005/bigml-php-sdk/issues)MITPHPPHP &gt;=5.3.0

Since Sep 17Pushed 11y ago2 watchersCompare

[ Source](https://github.com/necromant2005/bigml-php-sdk)[ Packagist](https://packagist.org/packages/necromant2005/bigml-php-sdk)[ Docs](https://github.com/necromant2005/bigml-php-sdk)[ RSS](/packages/necromant2005-bigml-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (15)Used By (0)

bigml-php-sdk
=============

[](#bigml-php-sdk)

[![Build Status](https://camo.githubusercontent.com/9f5213e42fef0017d48c1c98d38bb6cf92004727a62ae04cd397894b92779ddf/68747470733a2f2f64726f6e652e696f2f6769746875622e636f6d2f6e6563726f6d616e74323030352f6269676d6c2d7068702d73646b2f7374617475732e706e67)](https://drone.io/github.com/necromant2005/bigml-php-sdk/latest)

Introduction
------------

[](#introduction)

BigML PHP SDK for bigml.com api access

Features / Goals
----------------

[](#features--goals)

- Simple API access from php
- Cover data transfromation json =&gt; array , array=&gt;json and error handling
- Implemntation resources: source, dataset, model, prediction, evaluation

Installation
------------

[](#installation)

### Main Setup

[](#main-setup)

#### With composer

[](#with-composer)

1. Add this to your composer.json:

```
"require": {
    "necromant2005/bigml-php-sdk": "1.*",
}
```

2. Now tell composer to download BigMl PHP SDK by running the command:

```
$ php composer.phar update
```

#### Usage

[](#usage)

Creating source resource with API version "andromeda"

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array(
    'username' => 'alfred',
    'api_key'  => '79138a622755a2383660347f895444b1eb927730',
));
```

Creating source resource in develoment mode with specific api version

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array(
    'username' => 'alfred',
    'api_key'  => '79138a622755a2383660347f895444b1eb927730',
    'access_point' => 'https://bigml.io/dev/',
    'version' => 'andromeda',
));
```

Using custom prediction Access Point for dedidated BigML AWS prediction instance

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array(
    'username' => 'alfred',
    'api_key'  => '79138a622755a2383660347f895444b1eb927730',
    'access_point' => 'https://bigml.io/dev/',
    'access_point_prediction' => 'https://prediction.dev.bigml.io/',
    'version' => 'andromeda',
));
```

#### Usage Basic

[](#usage-basic)

Creating resource through factory

```
use BigMl\Client\BigMl;

BigMl::factory('source', array( ... )); // source
BigMl::factory('dataset', array( ... )); // dataset
BigMl::factory('model', array( ... )); // model
BigMl::factory('prediction', array( ... )); // prediction
BigMl::factory('evaluation', array( ... )); // evaluation
```

#### Usage Source

[](#usage-source)

Create source data

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array( ... ));
$source->create(array('data' => array(
    'a', 'b', 'c',
    1, 2, 3,
    4, 5, 7
)));
```

Create source remote

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array( ... ));
$source->create(array('remote' => 's3://bigml-public/csv/iris.csv'));
```

Get info about source

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array( ... ));
$source->retrieve('source/4f510d2003ce895676000069');
```

Get info with waiting til the process is finished and checking status every 10 seconds

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array( ... ));
$source->wait('source/4f510d2003ce895676000069', 10);
```

Find source with name 'iris'

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array( ... ));
$source->retrieve('source', array(
    'name' => 'iris'
));
```

Rename source

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array( ... ));
$source->update('source/4f510d2003ce895676000069', array(
    'name' => 'iris-new'
));
```

Remove sorce

```
use BigMl\Client\BigMl;

$source = BigMl::factory('source', array( ... ));
$source->delete('source/4f510d2003ce895676000069');
```

#### Usage Prediction

[](#usage-prediction)

Make prediction

```
use BigMl\Client\BigMl;

$service = BigMl::factory('prediction', array( ... ));
$service->create(array(
    'model' => 'model/57510d2003ce895676000069',
    'input_data' => array(
        '000000' => 'value1',
        '000001' => 'valu2',
    ),
    'name' => 'my-prediction',
));
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~32 days

Recently: every ~96 days

Total

14

Last Release

4207d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5e273c6fafd45200a20763158fdc4e80ec72509ef4e7f14b460915babffb9f2?d=identicon)[necromant2005](/maintainers/necromant2005)

---

Top Contributors

[![necromant2005](https://avatars.githubusercontent.com/u/159874?v=4)](https://github.com/necromant2005 "necromant2005 (38 commits)")

---

Tags

sdkbigml

### Embed Badge

![Health badge](/badges/necromant2005-bigml-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/necromant2005-bigml-php-sdk/health.svg)](https://phpackages.com/packages/necromant2005-bigml-php-sdk)
```

###  Alternatives

[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.5k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
