Weave 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

Laravel Ec Validator Laravel Package

tavo1987/laravel-ec-validator

Laravel validation rules for Ecuadorian identification documents, letting you verify cédula and RUC numbers with ready-made rules and checksum checks so forms and APIs accept only correctly formatted IDs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature decision: Enables Ecuadorian Cédula and RUC validation in signup, checkout, KYC, seller onboarding, invoicing, and tax-profile forms without building country-specific validation logic in-house.
  • Build vs. buy: Buying/integrating is inexpensive (MIT) and fast, but the package is a thin Laravel wrapper around tavo1987/ec-validador-cedula-ruc. Decide whether to adopt the wrapper, depend directly on the underlying validator, or implement a small internal rule to reduce dependency risk.
  • Roadmap enablement: If Ecuador is on the near-term market roadmap, this is a low-effort localization/compliance enabler. If Ecuador is not explicitly prioritized, defer it as a tactical backlog item rather than a strategic investment.
  • Use cases: Customer onboarding, marketplace seller verification, checkout forms, invoice/tax data capture, fraud reduction, and reducing manual review caused by malformed IDs.
  • Risk management: Low adoption (6 stars, 0 dependents) means the package should be wrapped behind an internal interface or forked/vendored if validation becomes business-critical.
  • Prioritization: Treat as a small, reversible dependency decision tied to a concrete Ecuador use case rather than a platform-wide validation strategy.

When to Consider This Package

  • You are building a Laravel 11 or 12 application on PHP 8.2+ and need Cédula or RUC validation for Ecuador.
  • You want standard Laravel validation rules (ecuador:ci, ecuador:ruc, ecuador:ruc_spub, ecuador:ruc_spriv) with auto-discovered service-provider registration.
  • Your team accepts a small, community-supported MIT package and its transitive dependency on tavo1987/ec-validador-cedula-ruc.
  • You need a fast implementation for a bounded feature and can add internal tests and a wrapper around the package.
  • Look elsewhere or build in-house if: you need enterprise support/SLA, broad multi-country validation, government-registry verification, older Laravel/PHP compatibility, or a dependency policy requiring widely adopted packages.
  • Also reconsider if you only need one simple format check, cannot accept low-adoption dependency risk, or need validation beyond format/checksum logic.

How to Pitch It (Stakeholders)

  • Executives: This is a low-cost, MIT-licensed Laravel package that validates Ecuadorian Cédula and RUC numbers in onboarding, checkout, and seller flows. It can speed up Ecuador market entry, reduce bad customer data, and lower compliance/fraud risk. Because adoption is low, we would wrap it internally and treat it as a tactical dependency.
  • Engineering: The package provides four Laravel validation rules registered via an auto-discovered service provider and delegates validation to Tavo\ValidadorEc v2.0. It requires PHP 8.2+ and Laravel 11/12, is easy to cover with PHPUnit, and should be isolated behind an adapter or forked if it becomes critical.
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels