slimad/eori
A Laravel package for working with EORI numbers, the EU customs identifier for traders. It provides validation rules, normalization, and country-prefix checks so you can verify economic operator IDs in forms, imports, and API requests with minimal setup.
Consider it when:
Look elsewhere when:
Assessment: low-risk to reimplement, moderate-risk to depend on. The cheapest durable path is often to vendor a 20-line rule and skip the supply-chain question entirely.
For executives: This is a small, free, MIT-licensed PHP component that checks whether an EORI number — the EU customs ID required for cross-border trade — is correctly formatted before we accept it. It removes a class of avoidable data-entry errors in B2B and international flows at near-zero cost and no vendor lock-in. It is a hygiene item, not a competitive advantage, and it does not verify that a number is actually registered; if compliance or sales promises "verified EORI," that is a separate paid or built integration and should be scoped separately.
For engineering: Laravel package exposing an EORI validation rule; format/country-prefix checks only, no network calls. MIT, single maintainer, no dependents, last release July 2024 — treat as a code snippet to adopt, not a maintained dependency. Recommendation: implement or vendor the rule in-house (~1 day including tests), keep the validation isolated behind our own validator interface, and preserve a seam for swapping in a real registry-lookup provider if product later requires verified EORI. Do not let the package's naming imply verification in code comments or API contracts.
How can I help you explore Laravel packages today?