Weave Code
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

Proteus Laravel Package

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.

View on GitHub
Deep Wiki
Context7
v4.2.0

What's Changed

  • Make makeSimpleFunctionCall public (thanks @edalzell!)
v4.1.0
v4.0.1
  • Include actual changes for php-parser v5 ☕
v3.0.0

This release:

  • Adds support for Laravel 11
  • Removes support for Laravel 7, 8, and 9
  • Adds support for writing closures to config files
v2.1.1
  • Prevents removing function calls when using the set method
v2.1.0
  • Adds support for env calls using the function writer by @edalzell 🥳
v2.0.1
  • Improves automatic key filtering (fixes #23 )
v2.0.0

This release makes a number of significant changes and improvements to Proteus, including:

  • Making writeMany smarter by default
  • Removes mergeMany from the LaravelConfigWriter facade
  • Function calls (such as env) are now ignored by default
  • Improvements to the internal merging algorithm
v1.0.12
  • Guards against flattening array items that should be appended to existing arrays when merging #18
v1.0.11
  • Prevents the writeMany call from overriding all data when attempting to preserve certain configuration keys #14
  • The preserve and ignoreFunctionCalls will now play together nicely #14
  • Adds the ability to specify arrays when invoking the preserve method #15
v1.0.10
  • Adds a new mergeMany helper method to the Laravel ConfigWriter that will always attempt to merge conflicting items, instead of replacing them
v1.0.9
  • Provides ways to ignore various configuration items #11
v1.0.8
  • Allows for multiple use statements to appear at the top of a file without breaking remove operations
v1.0.7
  • Adds null checks and appropriate type checks to the remove() execution branch
v1.0.6
  • Adds a new replaceNodeWithDocBlock method (exposed as replaceStructure in the Laravel wrapper)
  • Fixes an issue when referencing class paths using the ::class constant
v1.0.5
  • Bumps minimum version of php-parser
  • Corrects an issue with method overloads in the document printer
v1.0.4
  • Corrects behavior of saving new nested arrays when configuration key does not exist
v1.0.3
  • Improves the handling of nested array values, and how "useless" nested arrays are managed #5
v1.0.2
  • Allows null values to be correctly emitted when saving modified documents
v1.0.1

Updates the orchestra/testbench dependency for compatibility

v1.0.0
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.
datacore/hub-sdk
alengo/sulu-http-cache-bundle
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard
visualbuilder/filament-lottie
servicioslineaonce/starter-kit
atomcoder/laravel-reorderable
irajul/filament-shadcn-theme
agtp/agtp-php
agtp/mod-php
centraldesktop/protobuf-php
trappistes/laravel-custom-fields
splash/sonata-admin
splash/metadata