定制 asp/commenter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

asp/commenter

Composer 安装命令:

composer require asp/commenter

包简介

API for comment app

README 文档

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

统计信息

  • 总下载量: 36
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-30