stillat/proteus
Utilities for parsing, updating, and writing Laravel-style PHP config files. Use the ConfigWriter facade to write or preview single or multiple keys, guard namespaces from mutation, and optionally rewrite function calls like env while preserving structure.
Full Changelog: https://github.com/Stillat/proteus/compare/v4.2.0...v4.2.1
makeSimpleFunctionCall public (thanks @edalzell!)This release:
set methodenv calls using the function writer by @edalzell 🥳This release makes a number of significant changes and improvements to Proteus, including:
writeMany smarter by defaultmergeMany from the LaravelConfigWriter facadeenv) are now ignored by defaultwriteMany call from overriding all data when attempting to preserve certain configuration keys #14preserve and ignoreFunctionCalls will now play together nicely #14preserve method #15mergeMany helper method to the Laravel ConfigWriter that will always attempt to merge conflicting items, instead of replacing themremove operationsnull checks and appropriate type checks to the remove() execution branchreplaceNodeWithDocBlock method (exposed as replaceStructure in the Laravel wrapper)::class constantnull values to be correctly emitted when saving modified documentsUpdates the orchestra/testbench dependency for compatibility
How can I help you explore Laravel packages today?