PackageTrack
Sign in Get early access

roots/wp-config

Fluent configuration management for WordPress

1.0.0 8.4M downloads/mo #1577 most downloaded on Packagist roots/wp-config

What this package is like to depend on

Last release 5 months ago

21 Mar 2026

Too new to tell

only 2 dated releases

No release notes found

nothing matched a version

Nothing withdrawn

no release was ever pulled

8 years old

2 releases · first in 2018

1 release in the last 12 months

see the full history below

Release timeline

2 releases · Aug 2018 to Mar 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 2
  1. v2.0.0-beta.1 21 Mar 2026 pre-release
    Release notes

    Breaking Changes

    • Fluent configuration API replaces the static Config::define()/Config::apply() approach
    • PHP 8.3+ is now required
    • env() string values are now coerced to native PHP types ("true"true, "123"123, etc.)

    Before (1.x):

    Config::define('DB_NAME', env('DB_NAME'));
    Config::define('DB_USER', env('DB_USER'));
    Config::apply();

    After (2.x):

    $config = Config::make(__DIR__)
        ->bootstrapEnv()
        ->env('DB_NAME')
        ->env('DB_USER')
        ->apply();

    See the README for a fully working config for Bedrock

    What's Changed

    Full Changelog: 1.0.0...v2.0.0-beta.1

    Open source →
  2. 1.0.0 10 Aug 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive