2017 © Pedro Peláez
 

library comments

image

vis/comments

  • Friday, July 31, 2015
  • by arturishe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

В composer.json добавляем в блок require, (*1)

 "vis/comments": "1.0.*"

Выполняем, (*2)

composer update

Добавляем в app.php, (*3)

  'Vis\Comments\CommentsServiceProvider',

Выполняем миграцию таблиц, (*4)

   php artisan migrate --package=vis/comments

Публикуем js файлы, (*5)

   php artisan asset:publish vis/comments

И если нужно публикуем views, (*6)

   php artisan view:publish vis/comments

Использование на фронтенде:, (*7)

Показываем форму для комментария на странице, (*8)

{{Comments::showForm($page)}}

Показываем список комментариев это страницы, (*9)

{{Comments::showListComments($page)}}

The Versions

31/07 2015

dev-master

9999999-dev

  Sources   Download

The Requires

 

by artur

31/07 2015

1.0.2

1.0.2.0

  Sources   Download

The Requires

 

by artur

31/07 2015

1.0.1

1.0.1.0

  Sources   Download

The Requires

 

by artur