salymdev / tanzania-universities
A PHP package listing all universities in Tanzania
This package is not auto-updated.
Last update: 2025-06-11 05:46:23 UTC
README
This package provides a list of all recognized universities in Tanzania. It's designed for developers who need university data for educational apps, forms, dropdowns, APIs, or any academic-related platforms.
π¦ Installation
You can install the package via Composer:
composer require salymdev/tanzania-universities
π Documentation
π Usage
require 'vendor/autoload.php'; use SalymMbise\Universities\UniversityList; $universities = UniversityList::all(); foreach ($universities as $uni) { echo $uni['name'] . " - " . $uni['location'] . "\n"; }
Each university includes:
name (e.g. University of Dar es Salaam)
abbreviation (e.g. UDSM)
type (e.g. Public, Private)
location (e.g. Dar es Salaam)
website (e.g. https://www.udsm.ac.tz)
π Example Output
[ [ 'name' => 'University of Dar es Salaam', 'abbreviation' => 'UDSM', 'type' => 'Public', 'location' => 'Dar es Salaam', 'website' => 'https://www.udsm.ac.tz' ], ... ]
π€ Contributing
Feel free to fork the repo, improve the data or structure, and send a pull request. Letβs make this more useful together!
π§ Author Salym Mbise π© salymdev@gmail.com π github.com/salymdev
π License Licensed under the MIT License.
You can tweak the emojis or sections if you want it more minimal β but this version will look pro on GitHub and Packagist π