PHPackages                             spkm/isams - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. spkm/isams

ActiveLibrary[HTTP &amp; Networking](/categories/http)

spkm/isams
==========

A PHP wrapper for using iSAMS public REST API

v5.0.3(2w ago)32.6k1MITPHPPHP ^8.3CI passing

Since Aug 9Pushed 2w ago2 watchersCompare

[ Source](https://github.com/cranleighschool/isams-php)[ Packagist](https://packagist.org/packages/spkm/isams)[ RSS](/packages/spkm-isams/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (12)Versions (138)Used By (0)

spkm/isams
==========

[](#spkmisams)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fb53e1db3d209914ff18d77fddc48200f40b345e23f91815f61ea115083f0bc3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73706b6d2f6973616d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spkm/isams)[![Build Status](https://camo.githubusercontent.com/1d252f44bd1cc67c989e8ff9adeacf73dadc9f97bc4149869e88d766783fc0b8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73706b6d2f6973616d732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/spkm/isams)[![StyleCI Status](https://camo.githubusercontent.com/5d4a0458e3d53c59bdd9e4e064f002c13d0ff28af7a82d118543f9b6d736d0b7/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134343136353137312f736869656c64)](https://camo.githubusercontent.com/5d4a0458e3d53c59bdd9e4e064f002c13d0ff28af7a82d118543f9b6d736d0b7/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134343136353137312f736869656c64)[![Total Downloads](https://camo.githubusercontent.com/611ef7dfaf2fb6d889675f78669995b5ffa97b96391bce9922e237757e5a1ade/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73706b6d2f6973616d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spkm/isams)

[![Banner](https://camo.githubusercontent.com/882b14e80a68dcef3bd33ce08358409bc60ac3611a2a86b9f756f2054802b327/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4953414d532532305048502e706e673f7468656d653d6c69676874267061636b6167654e616d653d73706b6d2532466973616d73267061747465726e3d636861726c696542726f776e267374796c653d7374796c655f31266465736372697074696f6e3d412b4c61726176656c2b777261707065722b666f722b7468652b4953414d532b524553542b415049266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313735707826696d616765733d636f6465)](https://camo.githubusercontent.com/882b14e80a68dcef3bd33ce08358409bc60ac3611a2a86b9f756f2054802b327/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4953414d532532305048502e706e673f7468656d653d6c69676874267061636b6167654e616d653d73706b6d2532466973616d73267061747465726e3d636861726c696542726f776e267374796c653d7374796c655f31266465736372697074696f6e3d412b4c61726176656c2b777261707065722b666f722b7468652b4953414d532b524553542b415049266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313735707826696d616765733d636f6465)

This package is a PHP wrapper for iSAMS () using their REST API. It transforms the json objects returned from the API into model instances.

See  for their API documentation &amp;

Installation and usage
----------------------

[](#installation-and-usage)

This package requires PHP 8.1 &amp; Laravel 9.0 or higher. See the `tests/` folder for documentation. (We'd quite like someone to write some proper documentation)

### Basic Installation:

[](#basic-installation)

You can install this package via composer using:

```
composer require spkm/isams

```

The package will automatically register its service provider

To publish the config file to `config/isams.php` run:

```
php artisan vendor:publish --provider="spkm\isams\IsamsServiceProvider"

```

Update the config file &amp; add the REST API secret(s) to your .env file

If you are using a School model, implement the interface `\spkm\isams\Contracts\Institution`:

```
