bitbirddev/twig-components-bundle
Pimcore VideoEditable, Pimcore VideoDataType, pimcore_asset()), making it a poor fit for non-Pimcore Laravel projects unless abstracted via a wrapper layer.twig/bridge or symfony/twig-bundle).symfony/twig-bundle or manual setup).@bitbirddev/web-components may introduce build tooling requirements (Vite/Webpack) if not already in use.Storage facade (e.g., storage_path('videos/example.mp4')).post->videoUrl).VideoHandler interfaces.spatie/laravel-medialibrary) would require significant effort.VideoSourceInterface to decouple from Pimcore’s pimcore_asset() and support Laravel’s Storage or Eloquent.laravel-cookie-consent integration)?@bitbirddev/web-components may require setup.| Laravel Stack Element | Fit Level | Notes |
|---|---|---|
| Blade Templating | ❌ Poor | Twig is not native; would require symfony/twig-bundle or manual setup. |
| Eloquent ORM | ✅ Good | Can adapt VideoHandler to work with Eloquent models (e.g., Post::videoUrl). |
| Storage Facade | ✅ Good | Can integrate with storage_path() for local video files. |
| Frontend (Vite/Webpack) | ✅ Good | VidStack web components require modern build tools. |
| GDPR/Consent Tools | ✅ Good | PrivacyWall can integrate with Laravel’s cookie/consent packages. |
| Pimcore CMS | ❌ Blocked | Package is Pimcore-specific; abstraction needed for Laravel. |
symfony/twig-bundle (complex, but clean).VideoSourceInterface with methods like:
interface VideoSourceInterface {
public function getUrl(): string;
public function getType(): string; // 'youtube', 'vimeo', 'local', etc.
}
Storage facade.laravel-cookie-consent).<video> tag if VidStack isn’t supported.vidstack/player compatibility.fileinfo may help detect video MIME types.users or sessions table).VideoSourceInterface and adapters for Eloquent/Storage.VideoSource implementations.@bitbirddev/web-components and vidstack/player are third-party; monitor for breaking changes.twig.cache_warmer).| Failure Scenario | Impact |
How can I help you explore Laravel packages today?