https://github.com/shalvah/unnportal-php
Build apps for UNN students with the best authentication possible
https://github.com/shalvah/unnportal-php
nigeria-student-portal php university unn
Last synced: about 1 month ago
JSON representation
Build apps for UNN students with the best authentication possible
- Host: GitHub
- URL: https://github.com/shalvah/unnportal-php
- Owner: shalvah
- License: mit
- Created: 2016-12-10T10:26:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-17T23:14:27.000Z (over 7 years ago)
- Last Synced: 2025-03-28T19:45:10.091Z (2 months ago)
- Topics: nigeria-student-portal, php, university, unn
- Language: PHP
- Homepage:
- Size: 18.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
unnportal-php
PHP library for the UNN API
![]()
![]()
Authenticate and get details about your application's users through their unnportal details. With this, you can restrict your app's audience to the right people.
## Usage:
```
first_name from the department of $student->department!";
} catch (PortalException $e) {
echo $e->getMessage();
}
```The `authenticate` method returns an instance of `\UnnPortal\Student` if successful, or throws a `PortalException` if not.
For a list of available student details, see the documentation at https://github.com/shalvah/unn-api
## Installation:
Run `composer install shalvah/unnportal-api`.## Contribution
Wanna help improve this package? Thanks! All you need to do:
- Fork the project
- Clone your fork to your local machine
- Make your changes
- Commit your changes and push
- Open a pull request
I'll attend to all PRs as soon as I can!## If you like this...
Please star and share! Thanks!