PHP code example of salymdev / tanzania-universities

1. Go to this page and download the library: Download salymdev/tanzania-universities library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

salymdev / tanzania-universities example snippets

bash
e SalymMbise\Universities\UniversityList;

$universities = UniversityList::all();

foreach ($universities as $uni) {
    echo $uni['name'] . " - " . $uni['location'] . "\n";
}