PHP code example of stephenjude / tertiary-institutes

1. Go to this page and download the library: Download stephenjude/tertiary-institutes 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/ */

    

stephenjude / tertiary-institutes example snippets

 php
    php artisan vendor:publish --tag=migrations
 php
// 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 */