# laravel-ardent/ardent

Self-validating, secure and smart models for Laravel's Eloquent ORM

Repository: https://github.com/laravel-ardent/ardent
Canonical: https://ross.abutalabs.com/products/ardent
Language: PHP
License: BSD-3-Clause
License Family: permissive
Topics: laravel, laravel-validation, php, models, database
Archived: true
Last push: 2020-03-05T23:25:53+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4980, "days_push": 2372, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1371, forks 201 (observed 2026-08-28T04:04:32.027185+00:00)

## What it is
Ardent is a PHP library providing self-validating, secure model classes that extend Laravel's Eloquent ORM. It moves validation rules, error handling, and relationship definitions directly into model classes to reduce controller boilerplate.

## Use cases
- validate eloquent models automatically in laravel
- move form validation into laravel models
- reduce controller boilerplate for model validation
- use an orm standalone in php without full laravel
- define model relationships more concisely in laravel

## When to choose
- you're on Laravel 5 and want validation rules defined directly on your Eloquent models
- you want automatic hydration of model attributes from form input with built-in validation
- you need a standalone ORM with validation outside a full Laravel install

## When to avoid
- you're on modern Laravel (6+), where the package is unmaintained and incompatible
- you prefer keeping validation in form requests or dedicated validator classes
- your project uses Laravel's current built-in validation features

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, form-handling
- domain: web-development, backend, databases
- platform: php
- tags: laravel, eloquent, self-validating-models, model-validation, web-server

## Member repositories
- laravel-ardent/ardent (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.027185+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:50.961077+00:00, confidence not recorded.
  - readme: https://github.com/laravel-ardent/ardent (fetched 2026-08-28T04:04:32.027185+00:00, sha 7a1ddec1a592)
- Data as of 2026-08-30T08:39:29.467469+00:00.
