m6t9n / iran-province-city
Laravel package for Iran's provinces and cities
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/m6t9n/iran-province-city
Requires
- php: ^8.0
- illuminate/support: ^10.0|^11.0|^12.0
README
๐ฎ๐ท Laravel Iran Province & City
A clean, modular, and interactive Laravel package to add all Iranian provinces and cities to your database โ the right way.
โ๏ธ What is this?
This Laravel package gives you a robust structure for working with provinces and cities of Iran. Whether you're building an e-commerce platform, a logistics system, or a location-based service โ this package saves you hours of work.
โ Features
- Interactive CLI for publishing & migrating models/seeders
- Selective publishing:
province,city, or both - Optimized for clean Laravel architecture
- Minimal dependencies โ no bloat
- Built and maintained with โค๏ธ by m6t9n
๐ Installation
composer require m6t9n/iran-province-city
โก Usage
php artisan iran-province-city:interactive
You'll be prompted to choose:
- Which migrations to publish (
province,city, or both)- Whether to run seeders
- Fully automatic migration/model/seeder setup
๐งช Example Output
โโ Publishing migration files and models... โ Migrations and models published. โโ Running migrate... โ Migration executed. โโ Running seeder... โ Seeder executed successfully. โ All operations completed successfully. Package by โ https://github.com/m6t9n
๐ License
This package is open-sourced under the MIT license.
๐ Contributions
Contributions, issues, and PRs are welcome. Just make sure your code is clean and respectful of the structure. Letโs keep it elegant.
Made with precision and purpose.