slynova/laravel-commentable
最新稳定版本:v2.0.0
Composer 安装命令:
composer require slynova/laravel-commentable
包简介
Polymorphic threaded comments for Laravel
README 文档
README
Laravel Commentable adds polymorphic threaded comments to Laravel 5.1 and above.
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
Require the package with Composer.
$ composer require slynova/laravel-commentable
Add the package to your application service providers in
config/app.php.'providers' => [ Illuminate\Foundation\Providers\ArtisanServiceProvider::class, Illuminate\Auth\AuthServiceProvider::class, ... Slynova\Commentable\ServiceProvider::class, ],Publish the package's migrations to your application and migrate.
$ php artisan vendor:publish --provider="Slynova\Commentable\ServiceProvider" --tag="migrations" $ php artisan migrate
Example
You can find an usage example of this package in the laravel-commentable-example repository.
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.
统计信息
- 总下载量: 1.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 51
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-06
