PHPackages                             rinvex/universities - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. rinvex/universities

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rinvex/universities
===================

Rinvex Universities is a simple and lightweight package for retrieving university details with flexibility. A whole bunch of data including name, country, state, email, website, telephone, address, and much more attributes for the 17k+ known universities worldwide at your fingertips.

v6.1.3(1y ago)6716.1k25[1 PRs](https://github.com/rinvex/universities/pulls)MITPHPPHP ^8.1.0

Since Jan 7Pushed 1y ago8 watchersCompare

[ Source](https://github.com/rinvex/universities)[ Packagist](https://packagist.org/packages/rinvex/universities)[ Docs](https://rinvex.com)[ RSS](/packages/rinvex-universities/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (41)Used By (0)

Rinvex University
=================

[](#rinvex-university)

**Rinvex University** is a simple and lightweight package for retrieving university details with flexibility. A whole bunch of data including name, country, state, email, website, telephone, address, and much more attributes for the 17k+ known universities worldwide at your fingertips.

[![Packagist](https://camo.githubusercontent.com/52c50446ec972aaaac2336ebc310684c1fe79c567b5bc069c63fc17f173d3fd0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72696e7665782f756e697665727369746965732e7376673f6c6162656c3d5061636b6167697374267374796c653d666c61742d737175617265)](https://packagist.org/packages/rinvex/universities)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2d8c68c8cc6adedc0d83258e19de33e8acebe77e54834f42d5a39000e29bb5fe/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72696e7665782f756e697665727369746965732e7376673f6c6162656c3d5363727574696e697a6572267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rinvex/universities/)[![Travis](https://camo.githubusercontent.com/801aaed4f6e89ff776329309c35abc127fb3c1d046f2b7c17e3f82f612558b10/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72696e7665782f756e697665727369746965732e7376673f6c6162656c3d5472617669734349267374796c653d666c61742d737175617265)](https://travis-ci.org/rinvex/universities)[![StyleCI](https://camo.githubusercontent.com/0d160b31cebc1bf2d925d714c30d558f5e0197cce55671e7b94a51ba998ef911/68747470733a2f2f7374796c6563692e696f2f7265706f732f37373737323939302f736869656c64)](https://styleci.io/repos/77772990)[![License](https://camo.githubusercontent.com/61af25d06bb3906ef92f90dded61d2b72ac000f45560822211478e9bb3687732/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72696e7665782f756e697665727369746965732e7376673f6c6162656c3d4c6963656e7365267374796c653d666c61742d737175617265)](https://github.com/rinvex/universities/blob/develop/LICENSE)

Usage
-----

[](#usage)

Install via `composer require rinvex/universities`, then use intuitively:

```
// Get single university
$cairoUniversity = university('cairo-university');

// Get university name: Cairo University
echo $cairoUniversity->getName();

// Get university alternative name: null
echo $cairoUniversity->getAltName();

// Get university country: Egypt
echo $cairoUniversity->getCountry();

// Get university state: null
echo $cairoUniversity->getState();

// Get university address: {"street":"PO Box 12613, Nahdet Misr Street","city":"Giza","province":"Cairo","postal_code":null}
echo $cairoUniversity->getAddress();

// Get university street: PO Box 12613, Nahdet Misr Street
echo $cairoUniversity->getStreet();

// Get university city: Giza
echo $cairoUniversity->getCity();

// Get university province: Cairo
echo $cairoUniversity->getProvince();

// Get university postal code: null
echo $cairoUniversity->getPostalCode();

// Get university contact: {"telephone":"+20(2) 572-9584","website":"http:\/\/www.cu.edu.eg","email":"scc@cu.edu.eg","fax":"+20(2) 568-8884"}
echo $cairoUniversity->getContact();

// Get university telephone: +20(2) 572-9584
echo $cairoUniversity->getTelephone();

// Get university website: http://www.cu.edu.eg
echo $cairoUniversity->getWebsite();

// Get university email: scc@cu.edu.eg
echo $cairoUniversity->getEmail();

// Get university fax: +20(2) 568-8884
echo $cairoUniversity->getFax();

// Get university funding: Public
echo $cairoUniversity->getFunding();

// Get university languages: null
echo $cairoUniversity->getLanguages();

// Get university academic year: September to June (September-January; January-June)
echo $cairoUniversity->getAcademicYear();

// Get university accrediting agency: null
echo $cairoUniversity->getAccreditingAgency();

// Get all universities
$universities = universities();

// Get all universities in Egypt (by country code)
$egyptUniversities = universities('eg');
```

> **Notes:**
>
> - **Rinvex University** is framework-agnostic, so it's compatible with any PHP framework whatsoever without any dependencies at all, except for the PHP version itself **^8.0.0**. Awesome, huh? 😃
> - **Rinvex University** provides the global helpers for your convenience and for ease of use, but in fact it's just wrappers around the underlying `UniversityLoader` class, which you can utilize and use directly if you wish

Features Explained
------------------

[](#features-explained)

- University data are all stored here: `resources/names.json`.
- `name` - university english name
- `alt_name` - university alternative name
- `country` - university country
- `state` - university state
- `address` - university address details
    - street: university street
    - city: university city
    - province: university province
    - postal\_code: university postal code
- `contact` - university contact details
    - telephone: university telephone
    - website: university website
    - email: university email
    - fax: university fax
- `funding` - university institution funding (public/private)
- `languages` - university teaching languages (array)
- `academic_year` - university academic year
- `accrediting_agency` - university accrediting agency

Changelog
---------

[](#changelog)

Refer to the [Changelog](CHANGELOG.md) for a full history of the project.

Support
-------

[](#support)

The following support channels are available at your fingertips:

- [Chat on Slack](https://bit.ly/rinvex-slack)
- [Help on Email](mailto:help@rinvex.com)
- [Follow on Twitter](https://twitter.com/rinvex)

Contributing &amp; Protocols
----------------------------

[](#contributing--protocols)

Thank you for considering contributing to this project! The contribution guide can be found in [CONTRIBUTING.md](CONTRIBUTING.md).

Bug reports, feature requests, and pull requests are very welcome.

- [Versioning](CONTRIBUTING.md#versioning)
- [Pull Requests](CONTRIBUTING.md#pull-requests)
- [Coding Standards](CONTRIBUTING.md#coding-standards)
- [Feature Requests](CONTRIBUTING.md#feature-requests)
- [Git Flow](CONTRIBUTING.md#git-flow)

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this project, please send an e-mail to [help@rinvex.com](help@rinvex.com). All security vulnerabilities will be promptly addressed.

About Rinvex
------------

[](#about-rinvex)

Rinvex is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Alexandria, Egypt since June 2016. We believe that our drive The Value, The Reach, and The Impact is what differentiates us and unleash the endless possibilities of our philosophy through the power of software. We like to call it Innovation At The Speed Of Life. That’s how we do our share of advancing humanity.

License
-------

[](#license)

This software is released under [The MIT License (MIT)](LICENSE).

(c) 2016-2022 Rinvex LLC, Some rights reserved.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 71.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~74 days

Recently: every ~154 days

Total

39

Last Release

603d ago

Major Versions

v1.1.2 → v2.0.02018-10-04

v2.0.1 → v3.0.02019-03-03

v3.1.4 → v4.0.02020-03-15

v4.0.13 → v5.0.02021-08-22

v5.0.7 → v6.0.02023-01-08

PHP version history (7 changes)v1.0.0PHP ^7.0.0

v1.1.1PHP ^7.1.3

v3.0.0PHP ^7.2.0

v4.0.0PHP ^7.4.0

v4.0.6PHP ^7.4.0 || ^8.0.0

v5.0.0PHP ^8.0.0

v6.0.0PHP ^8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e54af04bcacb96e00894621335f88df7ed9895b6cc245deffdc9830a21cfe29?d=identicon)[Omranic](/maintainers/Omranic)

---

Top Contributors

[![Omranic](https://avatars.githubusercontent.com/u/406705?v=4)](https://github.com/Omranic "Omranic (223 commits)")[![mohamed-hendawy](https://avatars.githubusercontent.com/u/16992890?v=4)](https://github.com/mohamed-hendawy "mohamed-hendawy (68 commits)")[![ScSherifTarek](https://avatars.githubusercontent.com/u/44446211?v=4)](https://github.com/ScSherifTarek "ScSherifTarek (19 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![Rattone](https://avatars.githubusercontent.com/u/7362607?v=4)](https://github.com/Rattone "Rattone (1 commits)")

---

Tags

phpuniversitieslanguageSimplelightweightFlexibleeducationrinvexcollagedivisionresearchdepartmentuniversitydegreeinstituion

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rinvex-universities/health.svg)

```
[![Health](https://phpackages.com/badges/rinvex-universities/health.svg)](https://phpackages.com/packages/rinvex-universities)
```

###  Alternatives

[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.4M48](/packages/rinvex-countries)[phpoption/phpoption

Option Type for PHP

2.7k541.2M159](/packages/phpoption-phpoption)[simplesoftwareio/simple-qrcode

Simple QrCode is a QR code generator made for Laravel.

2.9k27.6M92](/packages/simplesoftwareio-simple-qrcode)[rinvex/languages

Rinvex Languages is a simple and lightweight package for retrieving language details with flexibility. A whole bunch of data including name, native, iso codes, language family, language script, language cultures, and other attributes for the 180+ known languages worldwide at your fingertips.

32106.0k8](/packages/rinvex-languages)[patrickschur/language-detection

A language detection library for PHP. Detects the language from a given text string.

8513.2M18](/packages/patrickschur-language-detection)[ashleydawson/simple-pagination

Simple, lightweight and universal service that implements pagination on collections of things

18161.2k2](/packages/ashleydawson-simple-pagination)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
