ptrml / polycomments by pepo123

Universal comments for Laravel 5+
6
0
0
Package Data
Maintainer Username: pepo123
Maintainer Contact: ptrmlvsk@gmail.com (Petar Milevski)
Package Create Date: 2016-09-10
Package Last Update: 2016-09-15
Language: PHP
License: MIT
Last Refreshed: 2025-04-24 15:03:10
Package Statistics
Total Downloads: 6
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

Polycomments

Simple hookable commenting system leveraging polymorphic relationships. Early super rudimentary pre-alfa. May change drastically at any time.

##Installation

###Step 1: Backend ####Install via composer:

####Register the service provider in conf/app.php:

####Publish stuff and migrate:

####Implement both the interface and trait on your models:

(Switch the Post model with your own)

###Step 2: Frontend ####Append PolycommentsController.php with your calls (Post is an example model):

(Switch the Post model with your own) ####Append routes:

####Add the premade comments block to the views of your model:

(polycomments_subject is your models instance, polycomments_route is the named route)

###Step 3: Customization ####Edit views/vendor/polycomments/* for a custom look and feel:

License

MIT license.