vanthao03596/laravel-hanhchinhvn
Laravel package for Vietnam administrative divisions: import and query provinces, districts, and wards/communes with Eloquent models, migrations, and data seeding for building address forms and location-based features.
Adopt when:
Look elsewhere when:
hanhchinhvn dataset directly).To executives: This is a small, free (MIT), open-source dataset that removes a known time sink from a Vietnam launch — the administrative address hierarchy — and lets us ship localized address capture in days rather than weeks. The honest caveat: it's a snapshot, not a maintained service, last updated in 2022, and Vietnam's administrative boundaries have shifted since. I'd recommend adopting it as a seed dataset, budgeting a small amount of engineering to fork and own the refresh, and not treating it as a dependency we rely on someone else to keep current. That converts an abandonment risk into a one-time cost.
To engineering: Thin Eloquent models, migrations, and seeders for the three-level hierarchy with codes — low integration cost, easy to fork into our repo. Plan for it as vendored reference data: copy the schema and dataset in, add our own refresh job and a version/effective-date column so historical addresses remain resolvable when boundaries change. Do not build geospatial features on it; it's textual hierarchy only.
How can I help you explore Laravel packages today?