salymdev/tanzania-universities

A PHP package listing all universities in Tanzania

v1.0.0 2025-04-15 06:24 UTC

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 😎