algerian-cities
بواسطة @kossa
نشِط 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
عن هذا المشروع
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:
من ملف README الخاص بالمشروع على GitHub
- النجوم
- 85
- التفريعات
- 18
- الرخصة
- MIT
- آخر تحديث
- 22/06/2026
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/algerian-cities)