PHP code example of innoboxrr / wirecomments

1. Go to this page and download the library: Download innoboxrr/wirecomments library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

innoboxrr / wirecomments example snippets


Innoboxrr\Wirecomments\Providers\WirecommentsServiceProvider::class,
 artisan migrate

 php artisan vendor:publish --tag="wirecomments-config"

php artisan vendor:publish --tag="wirecomments-tailwind-config"

use Innoboxrr\Wirecomments\Traits\Commentable;

class Article extends Model
{
    use Commentable;
}

use Innoboxrr\Wirecomments\Traits\HasUserAvatar;

class User extends Model
{
    use HasUserAvatar;
}