Weave 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
Commentable

Commentable Laravel Package

italofantone/commentable

A Laravel package that adds polymorphic commenting to Eloquent models. Attach comments to any model via a simple trait, with a customizable comment model and straightforward integration into existing applications.

View on GitHub
Deep Wiki
Context7

italofantone/commentable is a Laravel package that adds threaded, polymorphic commenting to any Eloquent model. By applying the provided trait, models such as posts, products, or users can receive comments without schema changes to your existing tables. Comments are stored in a dedicated table and resolved through a clean, expressive API.

The package follows Laravel conventions, so it integrates with existing authentication and relationship patterns. It is suited to blogs, forums, and internal tools that need lightweight discussion features.

  • Polymorphic comments on any model via a single trait
  • Nested/threaded replies with parent–child relationships
  • Simple create, fetch, and delete methods
  • Configurable comment model and table
  • Works with Laravel's authorization and soft deletes
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib