thyagobrejao / laravel-commentable by thyagobrejao

Polymorphic threaded comments for Laravel
7,889
14
2
Package Data
Maintainer Username: thyagobrejao
Maintainer Contact: thyago.brejao@gmail.com (Thyago Assunção)
Package Create Date: 2016-09-02
Package Last Update: 2016-09-06
Language: PHP
License: MIT
Last Refreshed: 2024-04-29 15:07:56
Package Statistics
Total Downloads: 7,889
Monthly Downloads: 24
Daily Downloads: 1
Total Stars: 14
Total Watchers: 2
Total Forks: 4
Total Open Issues: 0

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.