spkm / isams-api
Integrate with the iSAMS API using SaloonPHP
v1.0.4
2025-04-11 10:29 UTC
Requires
- php: >=8.3
- illuminate/cache: ^11.41||^12.0
- illuminate/collections: ^11.41||^12.0
- illuminate/contracts: ^11.41||^12.0
- illuminate/support: ^11.41||^12.0
- saloonphp/cache-plugin: ^3.0
- saloonphp/laravel-plugin: ^3.0
- saloonphp/pagination-plugin: ^2.0
- saloonphp/saloon: ^3.0
- spatie/laravel-package-tools: ^1.19
Requires (Dev)
- laravel/pint: ^1.20
- pestphp/pest: ^3.7
- symfony/var-dumper: ^7.2
README
See the iSAMS documentation for a list of available endpoints.
Installation and usage
This package requires PHP 8.3 & Laravel 11.0 or higher. See the tests/
folder for documentation.
Basic Installation
You can install this package via composer using:
composer require spkm/isams-api
Usage
use spkm\IsamsApi\IsamsConnector;use spkm\IsamsApi\Requests\Students\GetStudentsRequest; $connector = new IsamsConnector($clientId, $clientSecret, $baseUrl); $request = new GetStudentsRequest(); $paginator = $connector->paginate($request); foreach ($paginator as $response) { $response->json(); }
Security
If you discover any security related issues, please email hello@spkmitchell.co.uk instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.