PHP code example of alexwenzel / laravel-commentary

1. Go to this page and download the library: Download alexwenzel/laravel-commentary 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/ */

    

alexwenzel / laravel-commentary example snippets


/**
 * Comment Management
 */
Route::controller('commentsmanagement', 'Alexwenzel\LaravelCommentary\ManagementController');

/**
 * Comment Frontend
 */
Route::controller('commentsfrontend', 'Alexwenzel\LaravelCommentary\FrontendController');

{{ View::make('laravel-commentary::comment-form', array('entity'=>'my_article_id')) }}

{{ View::make('laravel-commentary::comment-list', array('entity'=>'my_article_id')) }}
`
php artisan migrate --package="alexwenzel/laravel-commentary"
`
php artisan asset:publish alexwenzel/laravel-commentary