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
Placeholder Resolver

Placeholder Resolver Laravel Package

dflydev/placeholder-resolver

A lightweight PHP library for resolving placeholders such as %key% in strings using array or custom data sources. It supports recursive substitution, nested lookups, and circular-reference detection, making it useful for configuration and templating.

View on GitHub
Deep Wiki
Context7

dflydev/placeholder-resolver is a standalone PHP library for recursively resolving %placeholder% tokens in strings and arrays. Originally extracted from Symfony's DependencyInjection component, it decouples resolution from any specific container via a small PlaceholderResolverInterface backed by pluggable data sources, so you can resolve against arrays, configuration, or custom lookups.

  • Recursively resolves placeholders in nested strings and arrays
  • Pluggable data sources via PlaceholderResolverDataSourceInterface
  • Composite resolver for chaining multiple sources
  • Clear exceptions for unresolved placeholders
  • Lightweight, framework-agnostic, and Composer-installable
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console