NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2149 most downloaded on Packagist
A package for validating your Laravel app's config.
Latest stable
v3.0.0
Last release 13 days ago
09 Nov 2026
Release timing varies
gaps range from 6 weeks to 1.1 years
Most releases are documented
notes for 17 of 24 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
24 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Added separate default rulesets for Laravel 11, 12, and 13, and removed legacy default rulesets. #92
composer finalise script to run static analysis, tests, Rector, and code style fixes. #88Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.10.0...v3.0.0
Updated test suite to use newer PHPUnit features and syntax by @laravel-shift in https://github.com/ash-jc-allen/laravel-config-validator/pull/79
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.9.1...v2.10.0
Fix bug that was reading non-array config values as an array by @ash-jc-allen, @marventhieme, and @troywilliams in https://github.com/ash-jc-allen/lar
Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.9.0...v2.9.1
Added .gitattributes file by @ash-jc-allen in https://github.com/ash-jc-allen/laravel-config-validator/pull/74
.gitattributes file by @ash-jc-allen in https://github.com/ash-jc-allen/laravel-config-validator/pull/74Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.8.0...v2.9.0
Added support for Laravel 12. #69
nunomaduro/larastan to larastan/larastan and added support for Larastan 3. #70Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.7.0...v2.8.0
Add support for PHP 8.4 by @ash-jc-allen in https://github.com/ash-jc-allen/laravel-config-validator/pull/68
Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.6.1...v2.7.0
Fix bug that prevented nested config from being validated by @ash-jc-allen in https://github.com/ash-jc-allen/laravel-config-validator/pull/66
Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.6.0...v2.6.1
Add runInline method by @ash-jc-allen in https://github.com/ash-jc-allen/laravel-config-validator/pull/64
runInline method by @ash-jc-allen in https://github.com/ash-jc-allen/laravel-config-validator/pull/64Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.5.0...v2.6.0
Laravel 11.x Compatibility by @laravel-shift in https://github.com/ash-jc-allen/laravel-config-validator/pull/62
Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.4.0...v2.5.0
Added support for Laravel 10 by @ash-jc-allen in https://github.com/ash-jc-allen/laravel-config-validator/pull/59
Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.3.0...v2.4.0
Fixed sample code for getting validation errors by @Sy-Dante in https://github.com/ash-jc-allen/laravel-config-validator/pull/50
Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.2.0...v2.3.0
Require illuminate/validation and illuminate/view by @kohenkatz in https://github.com/ash-jc-allen/laravel-config-validator/pull/49
illuminate/validation and illuminate/view by @kohenkatz in https://github.com/ash-jc-allen/laravel-config-validator/pull/49Full Changelog: https://github.com/ash-jc-allen/laravel-config-validator/compare/v2.1.0...v2.2.0
Improved command output using Termwind. Huge thanks to @xiCO2k for this! #38
illuminate/command. #40illuminate/cache dependency requirement. #40Added support for Laravel 9 and PHP 8.1. #32
config/validation to config-validation. #31stubs/config-validation. #36As of Laravel Config Validator v1.3.0, the package can now be run using PHP 8.
<h3 id="added-support-for-php-8">Added support for PHP 8 (#28)</h3>
As of Laravel Config Validator v1.3.0, the package can now be run using PHP 8.
Added default config rulesets that can be published.
<h3 id="added-default-config-rulesets-that-can-be-published">Added default config rulesets that can be published. (#26)</h3>
As of Laravel Config Validator v1.2.0, the package now comes with some default rulesets. To start using these rulesets, you can publish them using the following command:
php artisan vendor:publish --tag=config-validator-defaults
The above command will copy the validation files and place them in a config/validation folder in your project. These rules are just to get you started, so there are likely going to be rules in the files that don't apply to your app. So, once you've published them, feel free to delete them or edit them as much as you'd like.
Added a new ` errors() ` method to the ` ConfigValidator ` class
errors() method to the ConfigValidator classthrowExceptionOnFailure() method to the ConfigValidator class<h3 id="added-errors-method-to-configvalidator-class">Added a new <code>errors()</code> method to the <code>ConfigValidator</code> class (#22)</h3>
A new errors() method has now been added to the ConfigValidator class and can be used for getting any errors caught during the validation. The errors are returned as an array.
<h3 id="added-throwexceptionsonfailure-method-to-configvalidator-class">Added a new <code>throwExceptionOnFailure()</code> method to the <code>ConfigValidator</code> class (#23)</h3>
A new throwExceptionOnFailure() method has now been added to the ConfigValidator class and can be used for determining whether if exceptions should be thrown if the validation fails.
The example below shows how to prevent any exceptions from being thrown if the validation fails:
$configValidator = new ConfigValidator();
$errors = $configValidator->throwExceptionOnFailure(false)
->run()
->errors();
<h3 id="updated-validation-console-command">Updated the validation console command output (#24)</h3>
The config:validate command has been updated to make use of the new errors() and throwExceptionOnFailure() methods. Now, instead of a single validation error being returned as an exception, all of the validation error messages will be displayed in the console within a table.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.