← All projects

algerian-cities

by @kossa

Active 85

A Laravel package to create/load wilayas and communes of Algeria in Arabic and French language, included zip code and latitude/longitude of communes

About this project

Laravel Algerian Cities : A comprehensive Laravel package to easily manage and interact with Algerian administrative divisions. It provides functionality to load Wilayas (provinces) and Communes (municipalities) in both Arabic and French, complete with postal codes and precise latitude/longitude coordinates for each commune. Features Includes all 58 Algerian Wilayas and 1541 Communes. Wilaya and Commune Eloquent models with relationships. Supports Arabic and French languages. Includes postal codes and latitude/longitude for each commune. Helper functions for easy integration in Blade views. Available as API endpoints. Requirements PHP : 8.1 or higher Laravel : 10 or higher Installation You can install the package via composer: Next, publish the migrations and seeders by running the installation command: Usage Basic usage The package provides two models: Wilaya and Commune. A Wilaya has many Commune, and you can interact with them just like any other Eloquent models. Using Helper Functions The package provides several helper functions for convenient data retrieval: Blade Templates / Views You can leverage the provided helpers or models to populate elements:

From the project README on GitHub

Stars
85
Forks
18
License
MIT
Last push
22 Jun 2026

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/algerian-cities.svg)](https://www.madeinalgeria.dev/projects/algerian-cities)

Related projects