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
No Bundle Controllers Bundle

No Bundle Controllers Bundle Laravel Package

kutny/no-bundle-controllers-bundle

A Symfony bundle that lets you use controllers without creating a bundle for them. Register plain controller classes and their routes directly in your application config, cutting boilerplate bundle scaffolding and keeping small projects and prototypes simple to structure.

View on GitHub
Deep Wiki
Context7

kutny/no-bundle-controllers-bundle lets you register Symfony controllers without creating a bundle for them. Instead of scattering thin bundles across your project just to hold a few controller classes, you can keep controllers in a plain src/Controller directory and have them autowired, tagged, and routed as usual. The bundle wires up the necessary compiler passes and service configuration, so Symfony's routing, dependency injection, and autoconfiguration work exactly as they would inside a bundle—removing boilerplate while preserving convention.

  • Define controllers in plain namespaces, outside any bundle
  • Automatic service registration and controller.service_arguments tagging
  • Attribute/annotation routing supported without bundle scaffolding
  • Simplifies small applications and gradually-modernized legacy projects
Frequently asked questions about No Bundle Controllers Bundle
Is kutny/no-bundle-controllers-bundle a Laravel package?
No. Despite being evaluated for a Laravel project, this is a Symfony bundle. Its Bundle suffix, kutny vendor namespace, and 2016 release date place it in the Symfony 2.x/3.x ecosystem, where it let developers place controllers outside of bundle directories. Laravel has no bundles and no bundle registration lifecycle, so there is no architectural seam where this code could attach.
Can I install kutny/no-bundle-controllers-bundle with Composer in a Laravel app?
Almost certainly not. The package carries Composer constraints pinned to PHP 5.5/5.6 through 7.0 and Symfony 2.7 through 3.0, while Laravel 10, 11, and 12 require PHP 8.1 or newer. Composer dependency resolution will fail outright. Even a forced install would risk autoload collisions or a fatal error on incompatible framework class signatures.
What problem does this Symfony bundle actually solve?
It lets Symfony applications keep controllers in plain directories outside of bundle folders while preserving autowiring, routing, and framework conventions. That was a real pain point in Symfony 2.x and 3.x. It is not a problem in Laravel, where controllers already live in app/Http/Controllers and are resolved directly by the router and service container.
How do I decouple controllers from modules in Laravel without a package?
Laravel already treats controllers as first-class classes outside any packaging unit, so no package is needed. Keep controllers in app/Http/Controllers, group routes by domain using separate route files or Route::prefix()->group(), and use invokable single-action controllers for thin, decoupled handlers. All of this is documented in the Laravel routing docs.
Is this package still maintained and safe for production?
The last release was 2016-01-27, roughly a decade without a commit. There are zero stars and zero dependents, which means no downstream users exercising the code, no issue reports, and no security review. There is no patch path for PHP 8 incompatibilities and no CVE response process. As a dependency it is a single point of failure with no alternative maintainer and no fork community to fall back on.
What are the alternatives for bundle-free Symfony architecture?
Symfony 4 and later, released in 2017, made bundle-less application structure the default through Symfony Flex. This package was effectively superseded within its own ecosystem about eighteen months after its last release. If you maintain a Symfony codebase, upgrade to Symfony 4+ with Flex rather than adopting a 2016 micro-bundle.
Does the MIT license make this package safe to depend on?
The MIT license is permissive and unproblematic from a legal standpoint. Permissiveness does not mitigate abandonment, however. You would still own all maintenance, security patching, and PHP 8 compatibility work permanently, with no upstream maintainer accountable for breakage.
Can I write a compatibility shim to run this bundle on Laravel?
You technically could, but it would be wasted effort. A shim would need to reimplement Symfony's Bundle base class, kernel bootstrapping, and container extension conventions purely to satisfy the package's own dependencies. At that point the shim is the product and the original package contributes nothing of value to your application.
Does this package have hidden transitive dependencies I should audit?
That risk is unverified. With zero dependents, nobody has validated the dependency graph in years, so transitive packages may be equally abandoned or carry unresolved advisories. Assume total incompatibility and unknown dependency health until proven otherwise, which in practice means treating the package as reference reading only.
Who owns the risk if this package breaks in production?
Your team does, permanently. There is no maintainer to escalate to, no fork community, and no patch path for framework or PHP upgrades. Treat the package as reference reading at most, and build any controller or routing structure using Laravel's native conventions instead.
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.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core