contao-thememanager/ctm-sticky-header
ctm-* namespace), not Laravel natively. While Laravel can integrate with Contao via bridges (e.g., Laravel-Contao), this package is not Laravel-first and requires Contao’s theming system._stickyheader.css, js_ctm_stickyheader) that must be manually included in Contao’s layout templates and JavaScript compilation pipeline. Laravel’s asset pipelines (e.g., Laravel Mix/Vite) would need adaptation to support Contao’s build process.laravel-contao or custom middleware).public/ or processed via Contao’s build tools).mix-manifest.json) may conflict with Contao’s static file handling.public/ directory conflicts arise?| Component | Fit Level | Notes |
|---|---|---|
| Contao CMS | Native | Designed for Contao’s Theme Manager. No changes needed if using Contao. |
| Laravel (Pure) | Poor | Not compatible without Contao bridge. |
| Laravel + Contao | Medium | Possible via laravel-contao or custom middleware. |
| Frontend (CSS/JS) | Medium | Requires Contao’s asset pipeline or manual inclusion in Laravel’s build. |
| Admin Panel | Low | Contao’s DCA settings won’t work in Laravel without a wrapper. |
For Contao-Only Projects:
composer require contao-thememanager/ctm-sticky-header
_stickyheader.css to Layout Stylesheet Settings in Contao backend.js_ctm_stickyheader in JavaScript Template.For Laravel + Contao Hybrid:
laravel-contao to embed Contao in Laravel.public/ to serve Contao’s assets (risk: conflicts with Laravel’s assets)._stickyheader.css and js_ctm_stickyheader in Laravel’s blade templates or asset pipeline.@vite(['resources/css/_stickyheader.css', 'resources/js/js_ctm_stickyheader.js'])
For Pure Laravel Projects:
ctm-* namespace). Verify compatibility with your Contao version.laravel-contao or custom wrapper._stickyheader.css and js_ctm_stickyheader.js to Laravel’s public/ or include in Vite._stickyheader.css before _theme.css).How can I help you explore Laravel packages today?