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
Useful Bundle

Useful Bundle Laravel Package

resomedia/useful-bundle

A Symfony bundle that collects assorted reusable utilities and helper services in one place, helping ResoMedia projects avoid rewriting the same common code. Install it to share everyday tools and convenience services across your applications instead of duplicating them in every app.

View on GitHub
Deep Wiki
Context7

Symfony 2 bundle with some useful things - custom form types, dql functions, twig extensions, etc...

Frequently asked questions about Useful Bundle
Is resomedia/useful-bundle a Laravel package?
No. resomedia/useful-bundle is a Symfony 2 bundle built around a Bundle class, YAML service definitions, and AppKernel registration. Laravel has no bundle concept and expects a service provider, facade, and config/*.php files. Treat it as a legacy Symfony package, not a Laravel dependency.
Can I install resomedia/useful-bundle in a Laravel app with Composer?
Composer may resolve the package, but installation does not make it usable in Laravel. There is no Laravel service provider, no package auto-discovery, and no Laravel configuration surface. You would still need to rewrite registration and adapt any helper code to Laravel's container and APIs.
What Laravel versions does resomedia/useful-bundle support?
None. The package targets Symfony 2-era conventions, with expectations around Symfony 2.8, Doctrine 2.x, and PHP 5.6 to 7.x language features. It has no Laravel version support matrix because it was never built for Laravel.
What features does resomedia/useful-bundle provide?
The overview describes reusable Twig extensions, template helpers, and utility services with convention-based bundle configuration. The technical evaluation also notes custom form types and Doctrine DQL functions in the repository. It is a grab bag of small helpers rather than a single focused capability.
How do I install and configure resomedia/useful-bundle in Symfony?
Consumption requires Composer installation, manual AppKernel registration, service and config wiring, and explicit Doctrine DQL function registration where used. The evaluation notes there is no published API guide, recipe, changelog, or usage documentation outside the source. Expect to read the bundle code to determine required parameters.
Is resomedia/useful-bundle maintained and safe for production?
The available assessment reports an inactive, single-maintainer bundle with zero stars, zero dependents, and no evident CI or test suite. Symfony 2 is end-of-life, so any dependency pinning you to that generation carries unpatched security exposure. Do not add it to a current production application without a license and provenance review.
What are good alternatives to resomedia/useful-bundle for Laravel developers?
Use Laravel's built-in helpers, collections, Blade directives, and custom service classes for the same everyday utilities. For Symfony projects, prefer actively maintained Twig extension or Doctrine extension libraries. Writing the one or two helpers you actually need is usually hours of work, not days.
Can I use resomedia/useful-bundle Twig extensions in Laravel Blade?
Not directly. Twig extensions and Blade directives are different extension models, and the bundle's Twig signatures likely predate Twig 2 and 3 changes. You can read the extension logic as reference and rewrite the behavior as a Blade directive or a plain PHP helper.
How do I extract a helper from resomedia/useful-bundle into my Laravel project?
Identify the specific helper you need, vendor only those files into an internal namespace, and rewrite registration for Laravel's container. Add tests around the extracted behavior and remove the upstream dependency reference so future upgrades are not blocked. Treat the repository as a reference implementation, not a library.
Does resomedia/useful-bundle include Doctrine DQL functions, and are they portable?
The technical evaluation lists Doctrine DQL functions among the bundle's contents. Such functions are often database-vendor-specific, for example MySQL FIELD or FIND_IN_SET, so confirm your target database engine before assuming portability. They also require explicit registration, which is not documented.
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource