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

Extra Validator Bundle Laravel Package

pixelavengers/extra-validator-bundle

Extra Validator Bundle extends Laravel's validator with additional custom rules for common validation needs. It helps keep form requests and controllers cleaner by replacing repetitive custom checks with reusable, easy-to-apply validation rules.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. The single most important finding is a framework mismatch: despite being filed under a "Laravel/PHP package" request, pixelavengers/extra-validator-bundle is a Symfony bundle, not a Laravel package. It depends on Symfony's Validator component, DependencyInjection extension conventions, and bundle registration (AppKernel / bundles.php). It will not auto-discover, register a service provider, or publish config in a Laravel application. Any Laravel integration would require either standing up Symfony's validator alongside Laravel's or porting the rule classes. Neither is a clean architectural fit for a Laravel-first codebase.

Integration feasibility. The package is a small, single-purpose collection of extra validation constraints. The useful surface area is almost certainly a handful of Constraint + ConstraintValidator class pairs (things like phone/number/identity-format checks). That logic is self-contained and trivially portable — the value is the rule implementations, not the bundle wiring. This makes it low-effort to reimplement and high-friction to adopt as-is, which inverts the usual build-vs-buy calculus.

Technical risk. High, concentrated in lifecycle rather than code quality:

  • 14 stars, 0 dependents, score 0.1 — effectively no production evidence and no downstream users to surface issues.
  • Likely abandoned — Symfony bundle naming and structure suggest a Symfony 2.x-era origin. PHP version constraints, composer.json requirements, and any PSR/type-hint usage will probably not resolve cleanly on PHP 8.x or Symfony 5/6/7.
  • Supply-chain exposure — adding an unmaintained dependency with no maintainer for a handful of validators is a poor risk trade.
  • Correctness risk in validators specifically — validation rules (e.g., national ID, tax number, phone formats) silently rot as regulations and formats change. An unmaintained validator is worse than no validator because it implies correctness it no longer guarantees.

Key questions.

  1. Which specific validators do we actually need? (Enumerate before evaluating anything else — the answer likely shrinks to 2–5 rules.)
  2. Is there an actively maintained equivalent — Symfony's own Validator constraints, egulias/email-validator, giggsey/libphonenumber-for-phone-number, or a maintained Laravel rules package — that covers the same ground?
  3. Does any part of this need to run on Symfony, or is the target stack unambiguously Laravel?
  4. Is there a licensing or provenance concern with vendoring the rules?

Integration Approach

Stack fit. Poor as a dependency, good as a reference implementation. Treat this repo as source material, not a package to composer require. The realistic path is: read the constraint/validator classes, extract the rules the product actually needs, and reimplement them as native Laravel validation rules (php artisan make:rule) or as calls into a maintained library.

Migration path.

  1. Inventory the constraints in the repo and map each to a concrete product requirement. Expect heavy pruning.
  2. Prefer maintained upstreams for anything commodity (phone, email, IBAN, postal code) — these exist as Laravel-native or framework-agnostic packages with active maintenance.
  3. Port only the bespoke rules — the ones with no maintained equivalent — into first-party Rule classes with tests and documented format assumptions.
  4. Do not attempt bundle registration in Laravel. If a genuine Symfony consumer exists, evaluate the bundle there separately; the outcomes will differ.

Compatibility. Assume incompatibility until proven otherwise. Any evaluation must include a composer require dry-run against the target PHP and framework versions, a review of the composer.json constraint block, and a check of the last commit/release date. Given the profile, expect to hit PHP version or Symfony component constraint conflicts on the first attempt.

Sequencing. This is a low-priority, non-blocking workstream. It should not gate any delivery. Sequence it as: enumerate needed rules → source maintained alternatives → port the residual bespoke rules → delete the repo reference. Total elapsed effort is measured in days, not sprints, and can be folded into routine feature work rather than scheduled as a migration.

Operational Impact

Maintenance. Adopting the package as a dependency transfers maintenance risk to us with none of the upside: we would own patching an unmaintained third-party bundle for framework compatibility, PHP upgrades, and validator correctness. Reimplementing the handful of rules we need converts an open-ended dependency liability into a small, bounded, first-party code surface we already know how to maintain.

Support. There is effectively no support channel. Zero dependents means no community triage, no issue history to mine, and no signal that anyone is watching the repo. Any production incident traced to a validator becomes our incident with no upstream to escalate to.

Scaling. Not a concern in the traditional sense — validation is CPU-light and stateless, and a handful of regex/format checks will never be a throughput bottleneck. The scaling risk is organizational: every additional unmaintained dependency compounds upgrade friction across the estate, and bundles of this vintage are the ones that block PHP major-version upgrades.

Failure modes.

  • Silent validator rot — a format rule encoded years ago no longer matches reality, and invalid data passes validation. This is the highest-severity failure mode because it is invisible until downstream systems reject the data.
  • Upgrade blockage — the package's constraints pin a framework or PHP version and stall an upgrade.
  • Framework mismatch surprises — service wiring assumptions leaking into a Laravel container.
  • Abandonment — repo archived or deleted, leaving no upstream at all.

Ramp-up. Negligible in either direction. The code is small and self-explanatory; a mid-level engineer can read and port the relevant rules in well under a day. The absence of ramp-up cost is precisely why reimplementation is the right call — we give up almost nothing by not adopting the package, and avoid the lifecycle risk entirely.

Recommendation. Do not adopt as a dependency. Mine the repo for the specific validation rules the product requires, replace commodity rules with maintained libraries, port anything bespoke into first-party Laravel Rule classes with test coverage, and close out the evaluation.

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.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route