becklyn/javascript-context
Send server-side data from PHP to JavaScript via a Twig helper that renders a JSON script container. Set values through the JavaScriptContext service and optionally use context providers/domains to inject shared data automatically.
$domain as the first argument in the Twig function javascript_context.ContextProviderInterfaces.services.yaml.Resources dir to the correct place.services.yaml.✨
How can I help you explore Laravel packages today?