Sri lankan Local Authorities
Documentation

Documentation

Installation via composer

composer require dinushchathurya/srilankan-local-authorities

Usage


use Dinushchathurya\Council\Council; //Use this on your controller

public function exampleFunction(){

    return Council::getProvinces(); // Returns all provinces
    return Council::getDistricts('Council'); // Returns districts of province
    return Council::getAuthorities('District'); // Returns local-authorities of a district
}


    

Source code for working demo