PHPackages                             lyssal/geography-bundle - 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. lyssal/geography-bundle

AbandonedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

lyssal/geography-bundle
=======================

A Symfony bundle to manage geographic entities like cities or countries.

0.2(8y ago)045proprietaryPHP

Since Oct 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Lyssal/geography-bundle)[ Packagist](https://packagist.org/packages/lyssal/geography-bundle)[ RSS](/packages/lyssal-geography-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

The Lyssal geography bundle
===========================

[](#the-lyssal-geography-bundle)

The Lyssal geography bundle permits to use and manipulate geographic data and langugages.

[![SensioLabsInsight](https://camo.githubusercontent.com/a7f4d5d014adb72e753853eb379b5b1ddd81d12061c8dc601f46a050998f94be/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f63643034656432382d653537382d346539392d386633642d6263393131653332336239362f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/cd04ed28-e578-4e99-8f3d-bc911e323b96)

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

[](#installation)

Read the [installation documentation](doc/Installation.md).

Entities
--------

[](#entities)

All entities have an entity manager (if you use `LyssalDoctrineOrmBundle`), a decorator and an appellation (if you use `LyssalEntityBundle`), and an admin (if you use `SonataAdmin`).

Entities are:

- Country
- AdministrativeArea (for states, French regions, etc)
- SubAdministrativeArea (for counties, French departments, etc)
- City
- PostalCode
- Language

Command
-------

[](#command)

### Import data

[](#import-data)

Empty and fill data:

```
php bin/console lyssal:geography:database:fill --locale=fr
```

Available locales are `fr` (French) and `en` (English).

Warning: All datatables will be empty after the command's call.

The command fill:

- All countries
- The French regions with names in French
- The French departments with names in French
- The French cities with names in French, and postal codes

### CSV

[](#csv)

`LyssalGeographyBundle` use CVS from `sql.sh` for countries, departments and cities.

Ce(tte) oeuvre de  est mise à disposition selon les termes de la licence Creative Commons Attribution – Partage dans les Mêmes Conditions 4.0 International().

PhpDoc
------

[](#phpdoc)

Execute :

```
phpdoc -c doc/phpdoc.tpl.xml
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~92 days

Total

3

Last Release

2955d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04c355bdbe1840d9dcb9755715587ae210f1e52dabba760e9db760e5378757e7?d=identicon)[Lyssal](/maintainers/Lyssal)

---

Top Contributors

[![Lyssal](https://avatars.githubusercontent.com/u/10855303?v=4)](https://github.com/Lyssal "Lyssal (7 commits)")

---

Tags

geographycountrycityregion

### Embed Badge

![Health badge](/badges/lyssal-geography-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lyssal-geography-bundle/health.svg)](https://phpackages.com/packages/lyssal-geography-bundle)
```

###  Alternatives

[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8230.8k](/packages/dipeshsukhia-laravel-country-state-city-data)

PHPackages © 2026

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