2017 © Pedro Peláez
 

library comments_l5

Comments for L5

image

vis/comments_l5

Comments for L5

  • Thursday, April 6, 2017
  • by arturishe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 9 % Grown

The README.md

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

 "vis/comments_l5": "1.0.*"

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

composer update

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

  Vis\Comments\CommentsServiceProvider::class,

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

    php artisan migrate --path=vendor/vis/comments_l5/src/Migrations

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

   php artisan vendor:publish --tag=comments --force

Копируем definition для комментариев, (*6)

   php artisan vendor:publish --tag=config_definition --force

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

   php artisan vendor:publish --tag=comments_views --force

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

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

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

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

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

The Versions

06/04 2017

dev-master

9999999-dev

Comments for L5

  Sources   Download

proprietary

by vis

06/04 2017

1.0.35

1.0.35.0

Comments for L5

  Sources   Download

proprietary

by vis

13/02 2017

1.0.34

1.0.34.0

Comments for L5

  Sources   Download

by vis

29/07 2016

1.0.33

1.0.33.0

Comments for L5

  Sources   Download

by vis

27/07 2016

1.0.32

1.0.32.0

Comments for L5

  Sources   Download

by vis

05/07 2016

1.0.31

1.0.31.0

Comments for L5

  Sources   Download

by vis

10/05 2016

1.0.3

1.0.3.0

Comments for L5

  Sources   Download

by vis

06/05 2016

1.0.21

1.0.21.0

Comments for L5

  Sources   Download

by vis

06/05 2016

1.0.2

1.0.2.0

Comments for L5

  Sources   Download

by vis

06/05 2016

1.0.1

1.0.1.0

Comments for L5

  Sources   Download

by vis