Search by

jackbayliss / laravel-config-drift

jackbayliss

Find new and extra options in your published Laravel config files after upgrading packages or the framework.

Package info

github.com/jackbayliss/laravel-config-drift

pkg:composer/jackbayliss/laravel-config-drift

Fund package maintenance!

jackbayliss

Statistics

Installs: 20

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.3 2026-11-11 00:15 UTC

This package is auto-updated.

Last update: 2026-11-11 00:21:59 UTC


README

Find new and extra options in your published Laravel config files after upgrading packages or the framework.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status

Once you've published a package's config file, you never hear about new options the package adds or old ones it drops. This compares your published config files against the originals and tells you which options are new and which are extra. It never changes your files.

Requirements

PHP 8.3+ and Laravel 13+.

Installation

You can install the package via composer:

composer require jackbayliss/laravel-config-drift --dev

Usage

Check all of your published config files:

php artisan config:outdated
  config/database.php ............................................. 2 new
  database.connections.sqlite.busy_timeout .......................... new
  database.connections.sqlite.journal_mode .......................... new

  config/mail.php ......................................... 1 new, 1 extra
  mail.mailers.smtp.scheme .......................................... new
  mail.mailers.smtp.encryption ...................................... extra
  • new: an option in the original config file that yours doesn't have.
  • extra: an option in your config file that the original doesn't have.

Check a single config file by passing its name:

php artisan config:outdated database
php artisan config:outdated horizon

Fail your CI build when a config file is outdated:

php artisan config:outdated --fail

Output the results as JSON:

php artisan config:outdated --json

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.