Skip to content

Commit

Permalink
Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thyagobrejao committed Sep 2, 2016
1 parent 23afb95 commit fc4ad7c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 26 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
![Slynova](https://cloud.githubusercontent.com/assets/2793951/8206037/35841f80-14f6-11e5-8538-b378cd632d28.png)

# Laravel-Commentable

[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://tldrlegal.com/license/mit-license)
[![Total Downloads](https://img.shields.io/packagist/dt/slynova/laravel-commentable.svg?style=flat-square)](https://packagist.org/packages/slynova/laravel-commentable)

[![SensioLabsInsight](https://insight.sensiolabs.com/projects/8d9f7ba6-6801-486f-aa04-570855860d57/big.png)](https://insight.sensiolabs.com/projects/8d9f7ba6-6801-486f-aa04-570855860d57)

Laravel Commentable adds polymorphic threaded comments to Laravel 5.1 and above.
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](https://github.com/etrepat/baum).<br>
[More information about Nested Set](http://en.wikipedia.org/wiki/Nested_set_model)
Expand Down Expand Up @@ -51,8 +47,7 @@ This package use Nested Set pattern with [Baum](https://github.com/etrepat/baum)
# <a name="example"></a>Example
You can find an usage example of this package in the [laravel-commentable-example](https://github.com/Slynova-Org/laravel-commentable-example) repository.
TODO
# <a name="change-logs"></a>Change Logs
Nothing has been changed from the first release.
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "slynova/laravel-commentable",
"name": "thyagobrejao/laravel-commentable",
"description": "Polymorphic threaded comments for Laravel",
"keywords": ["laravel", "commentable", "comment", "threaded", "nested set"],
"license": "MIT",
"support": {
"issues": "https://github.com/slynova-org/laravel-commentable/issues",
"source": "https://github.com/slynova-org/laravel-commentable"
"issues": "https://github.com/thyagobrejao/laravel-commentable/issues",
"source": "https://github.com/thyagobrejao/laravel-commentable"
},
"authors": [
{
"name": "Romain Lanz",
"homepage": "https://github.com/RomainLanz",
"email": "[email protected]",
"name": "Thyago Assunção",
"homepage": "https://github.com/thyagobrejao",
"email": "[email protected]",
"role": "Developer"
}
],
Expand All @@ -21,7 +21,7 @@
},
"autoload": {
"psr-4": {
"Slynova\\Commentable\\": "src/Commentable"
"ThyagoBrejao\\Commentable\\": "src/Commentable"
}
}
}
6 changes: 3 additions & 3 deletions src/Commentable/Models/Comment.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Slynova\Commentable\Models;
<?php namespace ThyagoBrejao\Commentable\Models;

/**
* Part of the Laravel-Commentable package.
Expand All @@ -12,9 +12,9 @@
* It is also available at the following URL: http://opensource.org/licenses/MIT
*
* @version 1.0.0
* @author Slynova
* @author ThyagoBrejao
* @license MIT
* @copyright (c) Slynova
* @copyright (c) ThyagoBrejao
*/

use Baum\Node;
Expand Down
6 changes: 3 additions & 3 deletions src/Commentable/ServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Slynova\Commentable;
<?php namespace ThyagoBrejao\Commentable;

/**
* Part of the Laravel-Commentable package.
Expand All @@ -12,9 +12,9 @@
* It is also available at the following URL: http://opensource.org/licenses/MIT
*
* @version 1.0.0
* @author Slynova
* @author ThyagoBrejao
* @license MIT
* @copyright (c) Slynova
* @copyright (c) ThyagoBrejao
*/

use Baum\Providers\BaumServiceProvider;
Expand Down
8 changes: 4 additions & 4 deletions src/Commentable/Traits/Commentable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php namespace Slynova\Commentable\Traits;
<?php namespace ThyagoBrejao\Commentable\Traits;

/**
* Part of the Laravel-Commentable package.
Expand All @@ -12,12 +12,12 @@
* It is also available at the following URL: http://opensource.org/licenses/MIT
*
* @version 1.0.0
* @author Slynova
* @author ThyagoBrejao
* @license MIT
* @copyright (c) Slynova
* @copyright (c) ThyagoBrejao
*/

use Slynova\Commentable\Models\Comment;
use ThyagoBrejao\Commentable\Models\Comment;

trait Commentable
{
Expand Down
4 changes: 2 additions & 2 deletions src/migrations/2015_11_06_000000_create_comments_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
* It is also available at the following URL: http://opensource.org/licenses/MIT
*
* @version 1.0.0
* @author Slynova
* @author ThyagoBrejaoS
* @license MIT
* @copyright (c) Slynova
* @copyright (c) ThyagoBrejao
*/

use Illuminate\Database\Schema\Blueprint;
Expand Down

0 comments on commit fc4ad7c

Please sign in to comment.