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

Wp Config Transformer Laravel Package

wp-cli/wp-config-transformer

Programmatically edit wp-config.php with WP Config Transformer. Add, update, remove, or check constants and variables while preserving existing formatting, with optional raw PHP values, normalization, and anchor-based insertions for safe automated configuration changes.

View on GitHub
Deep Wiki
Context7
v1.4.7
  • Only insert at the first occurrence of the placement anchor [#66]
v1.4.6
  • Remove DOTALL flag from parse_wp_config() regexes [#64]
v1.4.5
  • Support defined( 'CONST' ) or define( 'CONST', value ) pattern [#62]
v1.4.4
  • PHPStan fixes [#60]
v1.4.3
  • Prevent trailing commas in define() from being included in the extracted value [#59]
v1.4.2
  • Deletion of constants deletes more lines than expected [#53]
v1.4.1
  • Add a branch-alias for dev-main [#55]
v1.4.0
  • Add read-only option for WPConfigTransformer [#54]
v1.3.6
  • Fix failing PHPUnit tests [#52]
v1.3.5
  • Replace DOS line endings with LF [#49]
  • Fix empty line comment parsing by checking for the existing of a line ending. [#48]
v1.3.4
  • Update to WPCS v3 [#46]
v1.3.3
  • Fix incorrect return type in docblock for get_value() [#43]
v1.3.2
  • Allow johnpbloch/wordpress-core-installer [#42]
  • Avoid test failure with assertNotSame instead of assertNotEquals [#41]
v1.3.1
  • Update status badge in README.md [#40]
v1.3.0
  • Adapt tests for polyfilled test case [#36]

Note: :warning: The minimum PHP version is bumped to PHP 5.6+ with this release. :warning:

v1.2.8
  • Update Composer requirement to include v2 [#29]
v1.2.7
  • Update phpunit/phpunit requirement from ^6.5.5 to ^6.5.5 || ^7.0.0 [#22]
v1.2.6
  • Add EOF as special-case anchor [#23]
  • Update wp-coding-standards/wpcs requirement from ^0.14.0 to ^0.14.0 || ^1.0.0 || ^2.0.0 [#20]
  • Add .github to .gitattributes [#18]
v1.2.5
  • Fix parsing of escaped quotes [#16]
  • Normalize the newline to prevent an issue coming from OSX [#14]
  • Change to "Happy publishing." per change in core [#13]
  • Add .gitattributes file [#12]
v1.2.4
  • Use real config filename in Exception messages [#11]
v1.2.3
  • Fix regex for closing syntax in string [#9]
v1.2.2
  • Add regression test for #5 [#8]
  • Remove colloquialism [#6]
  • Preserve leading whitespace characters on config update [#5]
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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel