2017 © Pedro Peláez
 

library datmachine

Client for Datmachine API

image

datmachine/datmachine

Client for Datmachine API

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Datmachine

Business Analytics for SaaS, (*1)

The design of this library was heavily influenced by Httpful., (*2)

Requirements

Issues

Please use appropriately tagged github issues to request features or report bugs., (*3)

Installation

You can install using composer or from source. Note that Datmachine is PSR-0 compliant:, (*4)

Composer

If you don't have Composer install it:, (*5)

$ curl -s https://getcomposer.org/installer | php

Require datmachine in your composer.json:, (*6)

{
    "require": {
        "datmachine/datmachine": "1.*"
    }
}

Refresh your dependencies:, (*7)

$ php composer.phar update

Then make sure to require the autoloader and initialize all:, (*8)

<?php
require(__DIR__ . '/vendor/autoload.php');

\Httpful\Bootstrap::init();
\RESTful\Bootstrap::init();
\Datmachine\Bootstrap::init();
...

Source

Download Httpful source:, (*9)

$ curl -s -L -o httpful.zip https://github.com/nategood/httpful/zipball/v0.2.3;
$ unzip httpful.zip; mv nategood-httpful* httpful; rm httpful.zip

Download RESTful source:, (*10)

$ curl -s -L -o restful.zip https://github.com/matthewfl/restful/zipball/master;
$ unzip restful.zip; mv matthewfl-restful* restful; rm restful.zip

Download the Datmachine source:, (*11)

$ curl -s -L -o datmachine.zip https://github.com/datmachine/datmachine-php/zipball/master
$ unzip datmachine.zip; mv datmachine-datmachine-php-* datmachine; rm datmachine.zip

And then require all bootstrap files:, (*12)

<?php
require(__DIR__ . "/httpful/bootstrap.php")
require(__DIR__ . "/restful/bootstrap.php")
require(__DIR__ . "/datmachine/bootstrap.php")

\Httpful\Bootstrap::init();
\RESTful\Bootstrap::init();
\Datmachine\Bootstrap::init();
...

Quickstart

Refer to the Quickstart guide in the Datmachine Documentation., (*13)

Usage

See https://datmachine.co/docs/api for guides and documentation., (*14)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write your code and tests
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new pull request

The Versions

29/12 2014

dev-master

9999999-dev http://github.com/datmachine/datmachine-php

Client for Datmachine API

  Sources   Download

MIT

The Requires

 

The Development Requires

api analytics

13/09 2014
12/09 2014