PHPackages                             luismarcelino/freguesias - 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. luismarcelino/freguesias

ActiveLaravel-library[Utility &amp; Helpers](/categories/utility)

luismarcelino/freguesias
========================

Freguesias is a bundle for Laravel with all Portuguese administrative regions.

017PHP

Since Aug 18Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Freguesias
==========

[](#freguesias)

Freguesias is a Laravel 5 package that provides all administrative regions in Portugal: distritos, concelhos and freguesias.

Instalation
-----------

[](#instalation)

Add `luismarcelino/freguesias` to `composer.json`.

```
"luismarcelino/freguesias": "dev-master"

```

Run `composer update` to pull down the latest version of Freguesias List.

Edit `config/app.php` and add the `provider` and `filter`

```
'providers' => [
    Luismarcelino\Freguesias\FreguesiasServiceProvider::class,,
]

```

Now add the alias.

```
'aliases' => [
    'Freguesias' => Luismarcelino\Freguesias\FreguesiasFacade::class,
]

```

Publishing
----------

[](#publishing)

Optionaly you can publishing the configuration if you want to change the default table name `freguesias`:

```
$ php artisan vendor:publish

```

To generate the migration file use:

```
$ php artisan freguesias:migration

```

This will generate the `_setup_freguesias_table.php` migration and the `FreguesiasSeeder.php` seeder. To run the migration, run as usual:

```
php artisan migrate:refresh

```

To run just this seeder user the artisan command:

```
php artisan db:seed --class=FreguesiasSeeder

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![luismarcelino](https://avatars.githubusercontent.com/u/710735?v=4)](https://github.com/luismarcelino "luismarcelino (19 commits)")

### Embed Badge

![Health badge](/badges/luismarcelino-freguesias/health.svg)

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

PHPackages © 2026

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