sonata-project/comment-bundle
SonataCommentBundle integrates FOSCommentBundle into the Sonata ecosystem, providing comment management features for Sonata-based Symfony apps. Note: this repository is abandoned and not actively maintained; community help is welcome.
sonata.comment.*). Requires merging existing FOSCommentBundle configs.Symfony/PHP Version Alignment:
Dependency Conflicts:
Maintenance Strategy:
Feature Gaps:
Performance:
Alternatives:
Assessment Phase:
Dependency Setup:
composer require sonata-project/comment-bundle
composer require friendsofsymfony/comment-bundle
composer require sonata-project/doctrine-bundle
Configuration:
config/packages/sonata_comment.yaml:
sonata_comment:
class:
model: App\Entity\Comment
form: App\Form\CommentType
security:
admin:
- ROLE_SONATA_ADMIN
// src/Admin/YourEntityAdmin.php
protected function configureListFields(ListMapper $listMapper)
{
$listMapper->add('comments', 'sonata_type_collection', [
'sonata_type_collection' => 'SonataCommentBundle:Comment:list_admin',
]);
}
Template Integration:
templates/SonataCommentBundle/Comment/list_admin.html.twig) for custom UI.@SonataComment/Comment/list_admin.html.twig).Database Migrations:
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
Testing:
Pre-Integration:
Core Integration:
UI/UX Layer:
Post-Integration:
How can I help you explore Laravel packages today?