2017 © Pedro Peláez
 

library arbor-sdk-php

Arbor Education PHP SDK

image

arbor-education/arbor-sdk-php

Arbor Education PHP SDK

  • Wednesday, July 18, 2018
  • by cvele
  • Repository
  • 3 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 22 Versions
  • 40 % Grown

The README.md

Arbor SDK

Arbor Education SDK library., (*1)

Introduction

PHP SDK is a library which simplifies the process of integrating the Arbor REST API with your own software., (*2)

Rather than handling XML and making HTTP requests in your code, you can simply include the SDK and use getters and setters on models in order to access data from Arbor. PHP SDK includes hundreds of models as well as a gateway pattern for querying the API via a query model., (*3)

Requirements

Installation

Simply download the project and run composer install from the root of the project to use as standalone for testing purposes., (*4)

Find the latest version on Packagist Arbor Education - PHP SDK and install it with composer directly in your project composer require arbor-education/arbor-sdk-php, (*5)

Once setup use the examples/config-dist.php to create your own config. For this you will need your apps credentials added on Arbor Education - Developers Portal in order to be able to make requests to a sandbox environment., (*6)

Usage

In the examples/example-bootstrap you will find the configuration needed to make requests, either using it directly from examples/config.php or using your own configuration. The entire examples directory is focused on helping you develop your app faster. Scripts written represent some of the most frequently used queries., (*7)

Example

Use Arbor\Api\Gateway\RestGateway to make GET, POST, PUT and DELETE requests and use Arbor\Query\Query to add filters to your requests., (*8)

GET request:

$student = \Arbor\Model\Student::retrieve(16);

or use examples/student-retrieve.php to see how to retrieve a record., (*9)

POST request:

use examples/staff-create.php to see how to create a new record., (*10)

PUT request:

use examples/staff-create.php to see how to update an existing record., (*11)

DELETE request:

$api->delete($staff->getPerson()); // assuming that you are deleting your newly created staff record

Query filters:

List of filters can be found in Arbor\Query\Query, (*12)

$query = new \Arbor\Query\Query(Arbor\Resource\ResourceType::ARBOR_MODEL);
$query->addPropertyFilter(ArborModel::PROPERTY_NAME, OPERATOR, $value);
$query->addPropertyFilter(ArborModel::PROPERTY_NAME, SECOND_OPERATOR, $value);
... 

$records = \Arbor\Model\ArborModel::query($query); // will return an array of records

foreach ($records as $record) {
    // e.g. $record->getDisplayName();
}

Check examples directory to see usages of filters., (*13)

The Versions

18/07 2018

dev-master

9999999-dev https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

18/07 2018

dev-feature/INTG-209

dev-feature/INTG-209 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

16/07 2018

2.4.0

2.4.0.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

16/07 2018

dev-improvement/attendance-registration-service

dev-improvement/attendance-registration-service https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

02/07 2018

dev-feature/intg-147

dev-feature/intg-147 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

14/05 2018

2.3.6

2.3.6.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

14/05 2018

dev-bug/INTG-126

dev-bug/INTG-126 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

13/04 2018

dev-feature/intg-80

dev-feature/intg-80 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

11/04 2018

2.3.5

2.3.5.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

27/02 2018

2.3.4

2.3.4.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

21/02 2018

2.3.3

2.3.3.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

rest api library sdk arbor mis

01/02 2018

2.3.2

2.3.2.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

01/02 2018

2.3.0

2.3.0.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

01/02 2018

2.3.1

2.3.1.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

04/01 2018

2.2.0

2.2.0.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

31/10 2017

2.1.0

2.1.0.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

25/08 2017

2.0.3

2.0.3.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

11/07 2017

2.0.2

2.0.2.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

10/07 2017

2.0.1

2.0.1.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

09/07 2017

2.0.0

2.0.0.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

07/06 2017

1.1.0

1.1.0.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis

24/04 2017

1.0.0

1.0.0.0 https://github.com/arbor-education/sis-sdk-php

Arbor Education PHP SDK

  Sources   Download

commercial

The Requires

 

The Development Requires

rest api library sdk arbor mis