indiana-university/status-api-php
Composer 安装命令:
composer require indiana-university/status-api-php
包简介
Provides a PHP 7 interface to status.uits.iu.edu
README 文档
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();
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-06-27