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
Render Widget

Render Widget Laravel Package

friendsofvictoire/render-widget

A lightweight Laravel package for rendering reusable widgets in your views. Register widgets and output them through a simple API, keeping Blade templates clean, modular, and easy to maintain. Suitable for dashboards, modular layouts, and component-driven pages.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Render Widget
Is friendsofvictoire/render-widget a Laravel package?
No. Despite being listed among Laravel packages, friendsofvictoire/render-widget is published from FriendsOfVictoire/WidgetRenderBundle, a Symfony bundle that provides the rendering layer for widgets in Victoire DCMS, a Symfony CMF-based CMS. It relies on Symfony's Kernel, dependency-injection container, bundle registration, and Twig conventions rather than Laravel's service providers, facades, and Blade. There is no composer require-and-go path into a Laravel application.
Can I install friendsofvictoire/render-widget in Laravel with Composer?
In practice, no. The package depends on Symfony bundle bootstrapping and Victoire's own widget and DCMS contracts, none of which map onto Laravel's architecture. Even if Composer resolves it, you would still need a bespoke adapter layer to boot it inside Laravel, which would be untested code owned entirely by you. For a Laravel application, the honest recommendation is not to integrate it.
What is friendsofvictoire/render-widget actually used for?
It is the rendering layer for widgets inside Victoire DCMS, resolving a widget type to its template and view model within Symfony's Twig pipeline. Victoire widgets are meaningful only inside Victoire's DCMS data model and admin tooling, so rendering one outside that context yields little value. If your widget data source is not Victoire DCMS, this package has no input to render.
Does friendsofvictoire/render-widget support Laravel 10 or Laravel 11?
There is no Laravel version support at all, because the package is a Symfony bundle rather than a Laravel package. Its constraints are typical of Symfony 2/3-era bundles, often pinning PHP 5.6 to 7.x and Symfony ^2.8 or ^3.0, which will not resolve against a modern Laravel stack on PHP 8.2+ with Symfony 6/7 components. Do not expect a Laravel 10 or Laravel 11 compatibility path.
How do I render widgets in Blade if this package doesn't work in Laravel?
Extract the concept rather than the code: build a small WidgetRenderer service bound in a service provider, a registry keyed by widget type, and Blade partials for output. Each widget type maps to a typed view model and a Blade view, keeping templates clean and modular for dashboards and component-driven pages. This is typically a few days of work, fully testable, and carries no third-party dependency risk.
What are the best alternatives to friendsofvictoire/render-widget for Laravel?
For Laravel, a native in-house renderer is usually the cheapest and safest alternative: a WidgetRenderer service, a type-keyed registry, and Blade partials. It gives you the same modular view composition without dragging Symfony bundle semantics into your app. If you need CMS-style widget management with CRUD, placement, and admin UI, evaluate a Laravel-native CMS or build the management layer yourself.
Will Composer dependency conflicts occur with modern PHP and Symfony?
Likely, yes. Symfony 2/3-era bundles often pin PHP 5.6 to 7.x and Symfony ^2.8 or ^3.0, which will not resolve against PHP 8.2+ and Symfony 6/7 components pulled in transitively by a modern Laravel app. The result is usually a dependency resolution failure during composer require, with no clean override that does not compromise the rest of the lockfile. That is a strong signal to stop before spending engineering time.
Is friendsofvictoire/render-widget maintained and safe for production?
Treat it as unmaintained. It has 0 stars, 0 dependents, and a low health score, and the wider Victoire project family has seen little activity for years. A package with no downstream consumers has rarely been exercised outside its maintainer's own application, so any it works claim is unverified. The unmaintained transitive dependency tree is also a security surface that your SCA tooling will flag and no upstream will patch.
How hard is it to build a simple widget renderer in Laravel?
Much easier than adapting a Symfony bundle. Define a WidgetRendererInterface in your domain, bind a WidgetRenderer implementation in a service provider, and back it with a registry that maps widget types to view models and Blade partials. That keeps your application framework-native, testable, and free of Symfony container bridging. It also preserves the option to swap in a vendor-backed renderer later behind the interface you own.
Can I use Victoire widgets outside of Victoire DCMS?
Not in any practical way. Victoire widgets depend on the DCMS data model, admin tooling, and Symfony bundle contracts, so there is no framework-agnostic core or documented PSR-only rendering interface to reuse. The package exposes no portable rendering API you can call from Laravel or any other framework. If you like the concept, reimplement widget resolution and rendering natively rather than integrating this bundle.
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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core