Weave Code
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
Timeline Bundle

Timeline Bundle Laravel Package

sonata-project/timeline-bundle

Symfony bundle integrating SpyTimelineBundle with Sonata, providing timeline/activity stream support in Sonata apps. Note: this repository is abandoned and not actively maintained; use at your own risk or consider helping to keep it up to date.

View on GitHub
Deep Wiki
Context7

[Abandoned] Integrates SpyTimelineBundle into Sonata

Frequently asked questions about Timeline Bundle
Can I use SonataTimelineBundle directly in a Laravel project without Symfony?
No, this bundle is designed for Symfony and requires SonataAdminBundle, which isn’t natively Laravel-compatible. You’d need a Symfony microkernel (e.g., spatie/laravel-symfony-microkernel) or a hybrid Lumen/Symfony setup, adding significant complexity. Laravel-native alternatives like FullCalendar or spatie/laravel-activitylog are simpler choices.
What Laravel versions support SonataTimelineBundle?
Laravel 9+ uses PHP 8.0+, but this bundle requires PHP ≥7.2 and Symfony ≥4.4. While technically possible, compatibility isn’t guaranteed due to abandoned maintenance. Test thoroughly or consider a fork. For modern Laravel, a JS-based timeline (e.g., TimelineJS) may be more reliable.
How do I install SonataTimelineBundle in a Laravel project?
Install via Composer: `composer require sonata-project/timeline-bundle`. However, this won’t work natively in Laravel. You’ll need to integrate it via a Symfony microkernel (e.g., spatie/laravel-symfony-microkernel) or abstract SonataAdminBundle’s logic. Documentation assumes Symfony, so expect gaps for Laravel’s service container or Blade templating.
Does SonataTimelineBundle work with Eloquent models in Laravel?
No, it relies on Doctrine ORM. You could use the Doctrine DBAL bridge (`doctrine/dbal`) to map Eloquent models, but this adds overhead and isn’t officially supported. For Eloquent, consider alternatives like spatie/laravel-activitylog, which is built for Laravel’s ORM and avoids Doctrine dependencies.
What are the risks of using an abandoned bundle like SonataTimelineBundle?
Major risks include compatibility breaks with newer Symfony/Laravel versions, unpatched security vulnerabilities, and lack of bug fixes. Since it’s tied to SonataAdminBundle (also abandoned), updates to either could render it unusable. Weigh this against modern alternatives like FullCalendar (JS-based) or Laravel-specific packages.
Can I replace SonataTimelineBundle with a JavaScript library in Laravel?
Yes, libraries like FullCalendar, Vis.js, or TimelineJS offer interactive timelines without PHP backend constraints. They integrate via Laravel’s API or Blade components, avoiding Symfony dependencies. For activity logs, spatie/laravel-activitylog provides a Laravel-native alternative with minimal setup.
How do I style SonataTimelineBundle in Laravel with Tailwind or Laravel Mix?
SonataTimelineBundle uses Bootstrap 3/4, which can be overridden by targeting its CSS classes in your Laravel Mix or Tailwind config. However, since it’s Symfony-centric, ensure your overrides don’t conflict with SonataAdminBundle’s styles. Test thoroughly, as abandoned packages may lack proper asset pipelines.
Is there a way to use SonataTimelineBundle in Laravel without SonataAdminBundle?
No, the bundle is tightly coupled with SonataAdminBundle. If you’re not using SonataAdmin, this bundle won’t function. For standalone timeline features, consider JS libraries (e.g., FullCalendar) or Laravel packages like `torann/laravel-announcer` for activity streams, which don’t require Symfony.
How do I handle real-time timeline updates with SonataTimelineBundle?
SonataTimelineBundle doesn’t natively support real-time updates. In Symfony, you’d typically use Mercure or WebSockets, but Laravel’s ecosystem (e.g., Laravel Echo + Pusher) won’t integrate seamlessly. For real-time needs, pair a JS library like FullCalendar with Laravel Echo or use Laravel-specific packages like `beyondcode/laravel-websockets`.
What alternatives exist for timeline features in Laravel if I avoid Symfony bundles?
For visual timelines, consider FullCalendar (interactive) or TimelineJS (static). For activity logs, spatie/laravel-activitylog is a drop-in solution. If you need admin integration, packages like `orchid/software` or `backpack/crud` offer timeline-like features without Symfony dependencies. Always prioritize Laravel-native packages to avoid maintenance headaches.
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.
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon