Skip to content
A categorized list of all Jamb accredited tertiary institutions.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
tests Setup api routes and controller namespaces Jun 20, 2019
.editorconfig Another awesome package 📦 Jun 19, 2019
.gitattributes Another awesome package 📦 Jun 19, 2019
.gitignore Another awesome package 📦 Jun 19, 2019
.scrutinizer.yml Another awesome package 📦 Jun 19, 2019
.styleci.yml
.travis.yml
CHANGELOG.md Another awesome package 📦 Jun 19, 2019
CONTRIBUTING.md Another awesome package 📦 Jun 19, 2019
LICENSE.md
README.md
composer.json
phpunit.xml.dist Another awesome package 📦 Jun 19, 2019

README.md

Tertiary Institutes

Build Status GitHub license Total Downloads

A database schema, models and controllers for list of nigerian tertiary institutions.

Installation

You can install the package via composer:

composer require stephenjude/tertiary-institutes

publish the migration files

    php artisan vendor:publish --tag=migrations

Usage

Tertiary Institution routes

// returns list of all universities
route('all.university');  /* institution/degrees/all */

// returns list of all states and private universities
route('all.state.private'); /* institution/degrees/stateprivate */

// returns list of all polytechnics
route('all.polytechnic'); /* institution/polytechnics */

// returns list of all college of education
route('all.colleges'); /* institution/colleges */

// returns list of all innovative institutes
route('all.ieis'); /* institution/ieis */

Institution Courses routes

// returns list of all federal university courses
route('federal.university.courses', ['institution_id' => $id]); /* courses/{institution_id}/federal */ 

// returns list of all state university courses
route('state.university.courses', ['institution_id' => $id]);  /* courses/{institution_id}/state */ 

// returns list of all private university courses
route('private.university.courses', ['institution_id' => $id]);  /* courses/{institution_id}/private */ 

// returns list of all polytechnic courses
route('polytechnic.courses', ['institution_id' => $id]);  /* courses/{institution_id}/polytechnic */ 

// returns list of all college courses
route('college.courses', ['institution_id' => $id]);  /* courses/{institution_id}/college */ 

// returns list of all innovative institute courses
route('iei.courses', ['institution_id' => $id]);  /* courses/{institution_id}/iei */ 

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email stephen@ahooba.org.ng instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.