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.
Pros:
Cons:
symfony/* packages, but SonataAdminBundle is not natively Laravel-compatible.spatie/laravel-symfony-microkernel) or via Lumen/Symfony hybrid apps, but this adds complexity.spatie/laravel-activitylog (for activity tracking) or fullcalendar (for interactive timelines).doctrine/dbal), but adds overhead.| Risk Area | Severity | Mitigation |
|---|---|---|
| Abandoned Maintenance | High | Fork the repo or use alternatives. |
| Sonata Dependency | High | Abstract Sonata-specific logic or avoid if not using SonataAdmin. |
| Symfony vs. Laravel | Medium | Use a microkernel or rewrite key components. |
| PHP/Symfony Version Lock | Medium | Test compatibility with Laravel’s Symfony version. |
| Twig Templating | Low | Laravel uses Blade; Twig can be added via twig/bridge. |
| Bootstrap Styling | Low | Can be overridden with Laravel Mix/Tailwind. |
| Component | Compatibility | Notes |
|---|---|---|
| PHP Version | ≥7.2 | Laravel 9+ uses PHP 8.0+; may need polyfills. |
| Symfony Components | ≥4.4 | Laravel uses Symfony 5.4+; some deps may conflict. |
| Doctrine ORM | Yes | Laravel uses Eloquent; Doctrine Bridge (doctrine/dbal) can help. |
| Twig Templating | Partial | Laravel uses Blade; Twig can be added via twig/bridge. |
| Bootstrap 3/4 | Yes | Can be overridden with Laravel Mix/Tailwind. |
| SonataAdminBundle | No (Laravel) | Requires Symfony microkernel or abstraction layer. |
composer require sonata-project/timeline-bundle
composer require symfony/dependency-injection symfony/http-kernel
config/bundles.php (Symfony) or Laravel’s config/app.php.YAML/XML or Laravel’s routes/web.php).startDate, endDate, title).Gedmo/DoctrineExtensions) for behavior like timestamps.TwigBundle.sonata.timeline.block.timeline).YAML/XML; Laravel uses Closures or Controller@method.EventDispatcher vs. Laravel’s Events.Project).startDate/endDate).How can I help you explore Laravel packages today?