New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

thyagobrejao/laravel-commentable

Polymorphic threaded comments for Laravel
10,589 14
Install
composer require thyagobrejao/laravel-commentable
Latest Version:1.0
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Sep 6, 2016
Links: GitHub  ·  Packagist
Maintainer: thyagobrejao

Laravel-Commentable

License Total Downloads

Laravel Commentable adds polymorphic threaded comments to Laravel 5.1 and above. (based on dead slynova/laravel-commentable)

This package use Nested Set pattern with Baum.
More information about Nested Set

Table of Contents

Requirements

  • As Laravel 5.1 require PHP 5.5.9+, we required the same version.

Getting Started

  1. Require the package with Composer.

    $ composer require thyagobrejao/laravel-commentable
    
  2. Add the package to your application service providers in config/app.php.

    'providers' => [
    
        Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
        Illuminate\Auth\AuthServiceProvider::class,
        ...
        ThyagoBrejao\Commentable\ServiceProvider::class,
    
    ],
    
  3. Publish the package's migrations to your application and migrate.

    $ php artisan vendor:publish --provider="ThyagoBrejao\Commentable\ServiceProvider" --tag="migrations"
    $ php artisan migrate
    

Example

TODO

Change Logs

Nothing has been changed from the first release.

Contribution Guidelines

Support follows PSR-2 PHP coding standards, and semantic versioning.

Please report any issue you find in the issues page. Pull requests are welcome.

Related Packages

ican-agency/laravel-commentable

Allows for threaded comments to be added to multiple and different models.

61 2
darekwalega/laravel-commentable

Commentable for Laravel.

9 1
businesstilto/commentable

An extensive and very customizable package that adds commenting in Filament v4.5...

9,514 18
laravolt/mural

Laravel comment stream

1,313 10
mastahed/larapost

Basic Post & Comment Module

19 0

Version History

Version Released PHP License
1.0 >=5.5.9 MIT