Download the PHP package arbor-education/arbor-sdk-php without Composer

On this page you can find all versions of the php package arbor-education/arbor-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package arbor-sdk-php

Arbor SDK

Arbor Education SDK library.

Introduction

PHP SDK is a library which simplifies the process of integrating the Arbor REST API with your own software.

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.

Requirements

Installation

Simply download the project and run composer install from the root of the project to use as standalone for testing purposes.

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

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.

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.

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.

GET request:

or use examples/student-retrieve.php to see how to retrieve a record.

POST request:

use examples/staff-create.php to see how to create a new record.

PUT request:

use examples/staff-create.php to see how to update an existing record.

DELETE request:

Query filters:

List of filters can be found in Arbor\Query\Query

Check examples directory to see usages of filters.


All versions of arbor-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-json Version *
guzzlehttp/guzzle Version ^6.0 || ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package arbor-education/arbor-sdk-php contains the following files

Loading the files please wait ....