Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 454 Bytes

File metadata and controls

22 lines (18 loc) · 454 Bytes

baasbox-php

A simple PHP client for Baasbox. Inspired by hook-php.

Usage


<?php
$box = Baasbox\Client::configure(array(
  'app_id' => 1234567890,
  'endpoint' => 'http://www.test.com:9000/',
  'authorization'=>'fdc:123456'	
));

$box->collection('scores')->create(array(
  'name' => 'Endel',
  'score' => 7
));

$list = $box->collection('scores')->get();