os2display/template-extension-bundle
A PHP/Symfony bundle for OS2display that adds template extension functionality, enabling developers to define, manage, and integrate custom display templates within the OS2display platform. Streamlines extending template options for digital signage and screen content.
This release (2.1.0) is a minor feature addition — a dark mode tool merged via PR #2 — so existing installs should upgrade without breaking changes.
composer require os2display/template-extension-bundle:^2.1If you are on Laravel + Blade rather than Symfony + Twig, treat the package primarily as a reference implementation of the dark mode logic and port the relevant filter/helper into a Blade directive or view composer.
config/bundles.php, let autoconfiguration pick up the Twig extensions, then call the dark mode helper/filter from your template Twig files..dark class on the root element; the PHP side should only emit the flag/class, not inline styles.^2.1, run your template rendering test suite, and visually diff light/dark output for at least one representative template before rolling out.composer require is enough.bin/console cache:clear) or Laravel's compiled views/config (php artisan view:clear && php artisan config:clear) — stale Twig/Blade caches are the most common "the new filter doesn't exist" cause.composer.json requirements; minor releases can quietly raise these.How can I help you explore Laravel packages today?