PHPackages                             renshipt/laravel-portugal-cities - 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. renshipt/laravel-portugal-cities

ActiveLaravel-library

renshipt/laravel-portugal-cities
================================

Laravel Portugal Cities is a bundle for Laravel.

145PHP

Since Nov 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/laurentino-dev/laravel-portugal-cities)[ Packagist](https://packagist.org/packages/renshipt/laravel-portugal-cities)[ RSS](/packages/renshipt-laravel-portugal-cities/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 5 Portugal Cities
=========================

[](#laravel-5-portugal-cities)

Laravel Portufal Cities is a bundle for Laravel.

**Please note that the dev-master version is for Laravel 5 only**

Installation
------------

[](#installation)

Run `composer require laurentino-dev/laravel-portugal-cities dev-master` in your Laravel root directory to install the latest version.

Or add `laurentino-dev/laravel-portugal-cities` to `composer.json`.

```
"laurentino-dev/laravel-portugal-cities": "dev-master"

```

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

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

```
'providers' => [
    Laurentinodev\Cities\CitiesServiceProvider::class,
]

```

Now add the alias.

```
'aliases' => [
    'Cities' => Laurentinodev\Cities\CitiesFacade::class,
]

```

Model
-----

[](#model)

You can start by publishing the configuration. This is an optional step, it contains the table name and does not need to be altered. If the default name `cities` suits you, leave it. Otherwise run the following command

```
$ php artisan vendor:publish

```

Next generate the migration file:

```
$ php artisan cities:migration

```

It will generate the `_setup_cities_table.php` migration and the `CitiesSeeder.php` seeder. To make sure the data is seeded insert the following code in the `seeds/DatabaseSeeder.php`

```
//Seed the cities
$this->call('CitiesSeeder');
$this->command->info('Seeded the cities!');

```

You may now run it with the artisan migrate command:

```
$ php artisan migrate --seed

```

After running this command the filled cities table will be available

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community1

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

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

### Embed Badge

![Health badge](/badges/renshipt-laravel-portugal-cities/health.svg)

```
[![Health](https://phpackages.com/badges/renshipt-laravel-portugal-cities/health.svg)](https://phpackages.com/packages/renshipt-laravel-portugal-cities)
```

PHPackages © 2026

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