Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Countries Laravel Package

rinvex/countries

Framework-agnostic PHP country dataset and loader: access details for ~250 countries (name/native/official, ISO codes, demonym, capital, borders, area, currencies, languages, dialing codes, geo data, flags and emoji). Simple helpers like country('eg') and countries().

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables rapid development of internationalization features (address forms, shipping, payment processing) without third-party API dependencies, reducing costs and latency
  • Supports "build vs buy" decisions by providing comprehensive, self-hosted country data (ISO codes, currencies, timezones, flags) instead of expensive commercial services
  • Critical for compliance-driven features (GDPR, tax calculations) where data privacy and offline access are non-negotiable
  • Eliminates vendor lock-in for static country data needs, allowing full control over data schema and updates

When to Consider This Package

  • ✅ When you need offline, self-hosted country data with zero external dependencies
  • ✅ For projects requiring ISO-standard country attributes (dialing codes, geodata, currencies) with no real-time updates needed
  • ✅ When avoiding API rate limits or third-party data privacy risks is critical
  • ❌ If real-time geopolitical changes (e.g., country name updates) or dynamic data (exchange rates) are required
  • ❌ For non-PHP projects or environments below PHP 8.1
  • ❌ When needing detailed regional data beyond country-level (e.g., cities, states)

How to Pitch It (Stakeholders)

  • Executives: "This package eliminates $X in annual third-party API costs while ensuring 100% uptime for critical features like shipping and payments. All country data is self-hosted—no external dependencies, zero privacy risks, and full compliance control. Saves engineering time and reduces operational risk."
  • Engineering: "Zero-dependency, framework-agnostic integration with 1738+ stars and proven test coverage. Just composer require and access 250+ countries' ISO data in a single JSON file. No setup, no maintenance, and MIT-licensed for complete freedom. Perfect for address forms, currency display, or timezone handling with zero latency."
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests