snowcap/core-bundle
Snowcap Core Bundle provides a shared foundation for Laravel apps, bundling common services, helpers, and configuration defaults so teams can bootstrap projects faster and keep codebases consistent while cutting boilerplate.
composer.json and look at the require block for symfony/symfony / symfony/framework-bundle constraints. If you are on Symfony 4+, stop here — you will spend more time patching than integrating.composer require snowcap/core-bundle (or a pinned version such as dev-master#<commit>), then register the bundle in app/AppKernel.php:
new Snowcap\CoreBundle\SnowcapCoreBundle(),
README.md — usually the only usage docs for a 2015 agency bundle.SnowcapCoreBundle.php and DependencyInjection/ — reveals the config alias (typically snowcap_core) and whether an extension class loads services.Resources/config/ — the real API surface: service definitions, tagged Twig extensions, event listeners, form types.Resources/views/ and Twig/ — shared templates/helpers you are expected to reuse.Form/, Entity/, Controller/ — base classes intended for inheritance.php app/console debug:container | grep snowcap, and see which services actually become available.AppKernel for all environments (registerBundles() without env branching) so its services and Twig extensions are consistently available in dev, test, and prod.twig.extension are auto-registered by Symfony; use the filters/functions in templates without extra wiring. Confirm names with debug:twig (or twig:debug on older versions).vendor/."repositories": [{ "type": "path", "url": "packages/core-bundle" }],
"require": { "snowcap/core-bundle": "*" }
Copy the bundle into your repo, patch it, and keep the namespace stable.composer.json autoload and run composer dump-autoload -o; otherwise classes will “not be found” despite existing.snowcap_core), but check DependencyInjection/*Extension.php — a wrong key in config.yml is silently ignored unless the extension calls processConfiguration().debug:container shows nothing, verify the extension’s load() method and that Resources/config/services.yml is imported. A missing import is the most common “bundle does nothing” bug.app/Resources/SnowcapCoreBundle/views/... (Symfony 2.x convention). In newer Symfony this path changes, another reason the bundle does not port cleanly.debug:container --tag=twig.extension, debug:event-dispatcher, lint:yaml, and cache:clear after config changes. In Symfony 2.x these are container:debug, event-dispatcher:debug.getParent()), service decoration (Symfony 2.8+), and compiler passes are the safe ways to customize. Avoid monkey-patching vendor code.How can I help you explore Laravel packages today?