PHPackages                             dinushchathurya/srilankan-local-authorities - 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. dinushchathurya/srilankan-local-authorities

ActivePackage

dinushchathurya/srilankan-local-authorities
===========================================

This includes all Srilankan Urban councils, Municipal councils and Pradeshiya Sabha

1.0.0(1y ago)126BSD-3-ClausePHPPHP &gt;=5.3.0

Since Jun 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dinushchathurya/srilankan-local-authorities)[ Packagist](https://packagist.org/packages/dinushchathurya/srilankan-local-authorities)[ RSS](/packages/dinushchathurya-srilankan-local-authorities/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

 [![](https://camo.githubusercontent.com/4f7e0d0b2eb3de8c977c19f21c7250bee9dcbaef07d742736035565ed3a1f2e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c7565)](https://camo.githubusercontent.com/4f7e0d0b2eb3de8c977c19f21c7250bee9dcbaef07d742736035565ed3a1f2e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c7565) [![Scrutinizer build (GitHub/Bitbucket)](https://camo.githubusercontent.com/c749ec6378d5a712480c4d0c8307009ed399311475c5008a0bff8a380758504e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f64696e7573686368617468757279612f7372696c616e6b616e2d6c6f63616c2d617574686f7269746965732f6d61696e)](https://camo.githubusercontent.com/c749ec6378d5a712480c4d0c8307009ed399311475c5008a0bff8a380758504e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f64696e7573686368617468757279612f7372696c616e6b616e2d6c6f63616c2d617574686f7269746965732f6d61696e) [![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/fa91713e00c353ab4f0f09c86207ac97e305fe5449373dff73cd2091319dd15a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f64696e7573686368617468757279612f7372696c616e6b616e2d6c6f63616c2d617574686f726974696573)](https://camo.githubusercontent.com/fa91713e00c353ab4f0f09c86207ac97e305fe5449373dff73cd2091319dd15a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f64696e7573686368617468757279612f7372696c616e6b616e2d6c6f63616c2d617574686f726974696573) [![GitHub All Releases](https://camo.githubusercontent.com/d2d14eca84081bc52582d2724926293d4933f042eede40ac7934e87998a7400b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573732f746f74616c3f7374796c653d706c6173746963)](https://camo.githubusercontent.com/d2d14eca84081bc52582d2724926293d4933f042eede40ac7934e87998a7400b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573732f746f74616c3f7374796c653d706c6173746963) [![](https://camo.githubusercontent.com/61e10a16ce2abb95ecb359018da093c346deb96540e9b81476f59dd097dd6c56/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d7570253230746f253230646174652d6f72616e6765)](https://camo.githubusercontent.com/61e10a16ce2abb95ecb359018da093c346deb96540e9b81476f59dd097dd6c56/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d7570253230746f253230646174652d6f72616e6765) [![](https://camo.githubusercontent.com/ae7eec0ad431f08c836a0ab7a2e4074446267add6acc23f692b44c9e54ec414a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d39302532352d79656c6c6f77677265656e)](https://camo.githubusercontent.com/ae7eec0ad431f08c836a0ab7a2e4074446267add6acc23f692b44c9e54ec414a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d39302532352d79656c6c6f77677265656e) [![](https://camo.githubusercontent.com/2dd0b4458f937a2989db2f4ed9afc16d0f090e6b3d37d141b55afbf9f872ce0a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f726174696e672de29885e29885e29885e29885e298862d627269676874677265656e)](https://camo.githubusercontent.com/2dd0b4458f937a2989db2f4ed9afc16d0f090e6b3d37d141b55afbf9f872ce0a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f726174696e672de29885e29885e29885e29885e298862d627269676874677265656e) [![](https://camo.githubusercontent.com/38aed2222076687323534599884e57a714c9eb265d86af697e778b11a45efe10/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f757074696d652d3130302532352d627269676874677265656e)](https://camo.githubusercontent.com/38aed2222076687323534599884e57a714c9eb265d86af697e778b11a45efe10/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f757074696d652d3130302532352d627269676874677265656e) [![GitHub issues](https://camo.githubusercontent.com/074db24f145a3e37ef3eda224b65c44769ecd668a8f8f100923867e2cabecf76/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573733f7374796c653d706c6173746963)](https://camo.githubusercontent.com/074db24f145a3e37ef3eda224b65c44769ecd668a8f8f100923867e2cabecf76/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573733f7374796c653d706c6173746963) [![GitHub pull requests](https://camo.githubusercontent.com/4f67061a1dbfb3aa118556ac88fa7cafc17883ea9854ec223e8d0c397ee489fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573733f7374796c653d706c6173746963)](https://camo.githubusercontent.com/4f67061a1dbfb3aa118556ac88fa7cafc17883ea9854ec223e8d0c397ee489fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573733f7374796c653d706c6173746963) [![GitHub code size in bytes](https://camo.githubusercontent.com/6cdddc121f61a3ce30b2d43b2cfd748a54268c3a2729b8360d2fa2ddda37b430/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726565733f7374796c653d706c6173746963)](https://camo.githubusercontent.com/6cdddc121f61a3ce30b2d43b2cfd748a54268c3a2729b8360d2fa2ddda37b430/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726565733f7374796c653d706c6173746963) [![GitHub repo size](https://camo.githubusercontent.com/eb7bec84b39b41ada1c08782652c06dbd05e76f410cc9c7077180ce85b6bcd65/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573733f7374796c653d706c6173746963)](https://camo.githubusercontent.com/eb7bec84b39b41ada1c08782652c06dbd05e76f410cc9c7077180ce85b6bcd65/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d646567726573733f7374796c653d706c6173746963) [![GitHub language count](https://camo.githubusercontent.com/0eb6748961b17fc43b082c9ee5a56b0f9f1000c7f49887659d6b53252b9e3b4a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f756e742f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d64656772657373)](https://camo.githubusercontent.com/0eb6748961b17fc43b082c9ee5a56b0f9f1000c7f49887659d6b53252b9e3b4a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f756e742f64696e7573686368617468757279612f7372696c616e6b616e2d756e697665727369746965732d666163756c746965732d64656772657373) [ ![Website](https://camo.githubusercontent.com/2834e9867cbca4c5aebc633b63abbabb2a6a5fa467fccd0104b4db7a4ad3553a/68747470733a2f2f696d672e736869656c64732e696f2f776562736974653f646f776e5f6d6573736167653d726564267374796c653d706c61737469632675705f6d6573736167653d6f6e6c696e652675726c3d687474707325334125324625324664696e7573686368617468757279612e6769746875622e696f253246) ](https://dinushchathurya.github.io/) [![Twitter URL](https://camo.githubusercontent.com/f695506cf1288fc108a17c2d4fdd59364ae80d1e239acb469b875cb661242f94/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c3f7374796c653d736f6369616c2675726c3d6874747073253341253246253246747769747465722e636f6d25324644696e757368436861746875727961)](https://camo.githubusercontent.com/f695506cf1288fc108a17c2d4fdd59364ae80d1e239acb469b875cb661242f94/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c3f7374796c653d736f6369616c2675726c3d6874747073253341253246253246747769747465722e636f6d25324644696e757368436861746875727961) [![](https://camo.githubusercontent.com/ce26cfac8e04b922a6636601066bda9fbcfbbf40457b31279823dbabc0b69af4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d616465253230776974682532306c6f76652d62792532307372696c616e6b612d6f72616e6765)](https://camo.githubusercontent.com/ce26cfac8e04b922a6636601066bda9fbcfbbf40457b31279823dbabc0b69af4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d616465253230776974682532306c6f76652d62792532307372696c616e6b612d6f72616e6765)

All Srilankan Municipal Councils, Urban Councils and Pradeshiya Sabha
=====================================================================

[](#all-srilankan-municipal-councils-urban-councils-and-pradeshiya-sabha)

This includes all Srilankan Municipal Councils, Urban Councils and Pradeshiya Sabha

### Installation

[](#installation)

via composer

`composer require dinushchathurya/srilankan-local-authorities`

### Usage

[](#usage)

```
use Dinushchathurya\Council\Council;

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
}
```

Documentataion
==============

[](#documentataion)

You can find the documentation for this package from [here](https://srilankan-local-authorities.herokuapp.com/documentation) .

Working demo
============

[](#working-demo)

You can find the working demo for this package from [here](https://srilankan-local-authorities.herokuapp.com/) .

Contributing
============

[](#contributing)

Author [Dinush Chathurya](https://dinushchathurya.github.io/)

License
=======

[](#license)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) 2021 [Dinush Chathurya](https://dinushchathurya.github.io/) and [codingtricks.io](https://codingtricks.io/)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

692d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2c1f9bd392bc0b9e0285b333772fc5eb0c4705f51e5c23c518602328052e48b?d=identicon)[dinushchathurya](/maintainers/dinushchathurya)

---

Top Contributors

[![dinushchathurya](https://avatars.githubusercontent.com/u/38061436?v=4)](https://github.com/dinushchathurya "dinushchathurya (13 commits)")

---

Tags

pradeshiya-sabhasrilankan-municipal-councilssrilankan-pradeshiya-sabhasrilankan-urban-councilsurban-councilsSriLankan Local AuthoritiesSriLankan Municipal CouncilsSrilankan Urban CouncilsSrilankan Pradeshiya SabhaLocal Authorities in SriLankaMunicipal Councils Uraban Councils Pradeshiya Sabha in SriLankaMunicipal Councils in SriLankaUrban Councils in SriLankaPradeshiya Sabha in SriLanka

### Embed Badge

![Health badge](/badges/dinushchathurya-srilankan-local-authorities/health.svg)

```
[![Health](https://phpackages.com/badges/dinushchathurya-srilankan-local-authorities/health.svg)](https://phpackages.com/packages/dinushchathurya-srilankan-local-authorities)
```

PHPackages © 2026

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