asp / commenter
API for comment app
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/asp/commenter
Requires
- guzzlehttp/guzzle: 6.*
- illuminate/html: 5.*
Requires (Dev)
- guzzlehttp/guzzle: 6.*
- illuminate/html: 5.*
This package is not auto-updated.
Last update: 2025-10-12 00:25:41 UTC
README
Installation: Add this to "providers" array in config/app.hp 'asp\commenter\CommenterServiceProvider', And this to "aliases" array in config/app.php 'Commenter' => 'asp\commenter\Helpers\Commenter', Run "Composer update" Run "php artisan vendor:publish" Set the api key in config/CommenterConfig.php Usage: You must have a username set in session by the key 'user' to enable commenting and rplying Just add following return a 'comments' variable obtained as shown below: $view= \Commenter::loadComment(); return \View::make('welcome')->with('comments',$view); Then in your view, insert the following snippet wherever you want to render the comments: @if(isset($comments)) @endif