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

1.1.0 2025-09-02 08:51 UTC

This package is auto-updated.

Last update: 2025-12-02 09:21:58 UTC


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.