indiana-university / status-api-php
Provides a PHP 7 interface to status.uits.iu.edu
v1.3
2019-06-27 20:22 UTC
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- phpmd/phpmd: ^2.4
- phpstan/phpstan: ^0.6.4
- phpunit/phpunit: ~6
- rych/random: ^0.1.0
- squizlabs/php_codesniffer: ^2.7
This package is auto-updated.
Last update: 2025-03-19 09:24:11 UTC
README
This project aims to provide a simple to use and maintain PHP interface to the IU status application.
Requirements
- PHP 7+
- Composer
- Guzzlehttp
Usage
Note: Currently this library is very basic and does NOT support actions which require authentication. As such the usage will change in the future.
<?php use Edu\Iu\Uits\Status\Status; use Edu\Iu\Uits\Status\Provider\Web\Web; $provider = new Web(); $status = new Status($provider); /** * Get a specific notice */ $notice = $status->getNotice(10); /** * Get all active notices */ $notices = $status->getNotices();