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

Framework Example Bundle Laravel Package

sumocoders/framework-example-bundle

Example bundle for the SumoCoders framework, built to demonstrate how to structure, configure, and integrate a reusable Symfony bundle. It offers sample controllers, templates, and services, serving as a practical starting point and reference for building your own bundles.

View on GitHub
Deep Wiki
Context7

Getting Started

Treat sumocoders/framework-example-bundle as a reference scaffold, not a dependency to install into a live application. With zero stars, zero dependents, no releases since 2017, and an archived repository, its day-to-day value is limited to showing how a Sumocoders-era Symfony bundle was structured.

Look first at:

  • README.md and composer.json for intended Symfony/PHP versions and package name
  • The bundle class in src/ and its DependencyInjection/ extension
  • Resources/config/services.yml and Resources/config/routing.yml
  • Controller/, Entity/, Resources/views/, and Tests/

Minimal first use case: clone or fork the repository and use it as a checklist when creating an internal Symfony bundle. If you must run it, do so in a throwaway Symfony 3.x-era application: register the bundle in AppKernel, import its routing file, install assets, then clear the cache. For a modern Symfony project, copy the patterns rather than the code: convert YAML service definitions to PHP attributes or explicit service config, replace AppKernel registration with Flex/bundles.php, and use modern bundle structure.

Implementation Patterns

Common ways a developer would actually use this package:

  • Scaffold a new bundle: copy the directory, rename the namespace, bundle class, DI alias, route prefix, template paths, and Composer autoload entry. Search for the original namespace and bundle alias everywhere.
  • Reference a bundle skeleton: compare your DependencyInjection/Extension.php, Configuration.php, service YAML, routing import, controller, entity, and test layout against the example.
  • Register and wire it in an old Symfony app: add the bundle to AppKernel::registerBundles(), import routing with the bundle prefix, load services through the extension, and install public assets.
  • Use controllers as services: if the example defines controllers in services.yml, follow that pattern in your own bundle, but account for Symfony 4+ private-service defaults.
  • Reuse the testing setup: copy the Tests/ structure for KernelTestCase or WebTestCase examples when bootstrapping bundle tests.
  • Extract patterns, not package code: take the DI extension shape, routing import convention, template override layout, and entity/repository wiring, then rewrite them for your target Symfony version.

For day-to-day work, keep it as a local reference repository or submodule in a sandbox. Do not make it a transitive dependency of an application bundle.

Gotchas and Tips

  • Archived and stale: no security fixes, no compatibility updates, and no maintainers. Avoid production use.
  • Symfony version drift: the bundle likely targets Symfony 2/3 conventions such as AppKernel, Resources/config/services.yml, and web/ assets. These do not map cleanly to Symfony 6/7, Flex, PHP attributes, or AssetMapper/Encore.
  • Composer constraints may block installation: inspect composer.json first. Do not use --ignore-platform-reqs outside a throwaway environment.
  • Renaming is not trivial: namespaces, bundle names, DI aliases, route names, service IDs, template paths, and config roots are often hardcoded. Use a global search before assuming a rename is complete.
  • Config quirks: the DI extension alias must match the Configuration root and the bundle alias used in YAML. Old bundles often assume non-autowired services.
  • Debugging checks: use bin/console debug:container, debug:router, lint:yaml, lint:twig, and cache:clear. Check the Symfony log directory when services or routes fail to load.
  • Assets and templates: old Resources/public and Resources/views conventions may need explicit registration in modern Symfony. Template overrides depend on the bundle name and path.
  • Extension points: fork and modernize. The useful parts are the structural patterns—DI extension, configuration tree, routing import, controller/service wiring, and tests—not the package itself.
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager