Skip to content

TomOndiba/php-infinite-multi-level-comments

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description:

This an AJAX multi-level comment system, that allows infinite level comment and replies.

How to Install:

You can install the comment system very easily by using composer. You just have to run:

composer require magkopian/php-infinite-multi-level-comments

Alternatively you can add it as a dependency in you composer.json file,

{
	"require": {
		"magkopian/php-infinite-multi-level-comments": "1.0.*"
	}
}

and run composer install.

After installing the comment system move the Config.template.php file to src/classes/Config.php and add your database credentials to it.

Run composer dump-autoload to regenerate the autoloading files after copying the Config class.

After that, use the sql/inf_comments.sql to generate the comment table in your database.

Finally, copy the public_html directory inside the directory you have installed the comment system (the directory that contains the vendor folder).

You can try the comment system by running the demo.php from your browser.

About

This is an AJAX multi-level comment system, that allows infinite level comment replies. Written in PHP and Javascript with jQuery.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 72.3%
  • JavaScript 21.4%
  • CSS 6.3%