Download the PHP package salibhdr/typhoon-iran-cities without Composer
On this page you can find all versions of the php package salibhdr/typhoon-iran-cities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download salibhdr/typhoon-iran-cities
More information about salibhdr/typhoon-iran-cities
Files in salibhdr/typhoon-iran-cities
Package typhoon-iran-cities
Short Description A laravel package for importing all regions such as provinces, counties, cities, city districts, rural districts and villages of iran into database accurately
License MIT
Informations about the package typhoon-iran-cities
Typhoon Iran Cities
English · فارسی
A Laravel package that imports Iran's administrative divisions — provinces, counties, sectors, cities, city districts, rural districts, and villages — into your database with Artisan commands. Includes Eloquent models, relationships, and optional city coordinates.
Requires Laravel 13 and PHP 8.3+ on the latest release. Older Laravel apps should use version matrix.
Documentation
Full documentation lives in docs/ — available in English and Persian (فارسی).
| English | فارسی | |
|---|---|---|
| Start here | English docs | مستندات فارسی |
| Hub / TOC | docs/README.md | same |
Table of contents
| Topic | EN | FA |
|---|---|---|
| Introduction | → | → |
| Requirements & versioning | → | → |
| Installation | → | → |
| Quick start | → | → |
| Storage modes (separate / unite) | → | → |
| Commands reference | → | → |
| Models & relationships | → | → |
| Status field | → | → |
| City coordinates | → | → |
| Upgrade guide | → | → |
| FAQ & troubleshooting | → | → |
| Testing & contributing | → | → |
Features at a glance
- All seven official division levels with relational data and codes
- Separate tables (default) or unite mode (single
iran_regionstable) - Selective import with
--target(e.g. cities only) - Published migrations and models — you own the schema
- Active/inactive
statuswith hierarchy-aware scopes - City latitude/longitude via
--with-city-coordinates - Re-import with
--freshwhen upstream data updates
Quick example
Testing
Coverage runs in CI on every push and PR — Codecov.
Package dependency
Published models extend SaliBhdr\TyphoonIranCities\Models\* — keep this package installed after iran:publish:models.
Published migrations are self-contained and do not reference the package namespace.
Changelog & upgrades
See راهنمای ارتقا (FA).
License & credits
MIT License — Salar Bahador.
Data based on ahmadazizi/iran-cities v3.
Issues: GitHub · Contributions welcome.
Built with ❤ for you.
All versions of typhoon-iran-cities with dependencies
illuminate/console Version ^13.0
illuminate/database Version ^13.0
illuminate/filesystem Version ^13.0
illuminate/support Version ^13.0