Download the PHP package anycomment/php-seo without Composer
On this page you can find all versions of the php package anycomment/php-seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download anycomment/php-seo
More information about anycomment/php-seo
Files in anycomment/php-seo
Package php-seo
Short Description AnyComment SEO helps to server renders comments on the page.
License
Informations about the package php-seo
AnyComment PHP SEO
AnyComment SEO helps to server renders comments on the page.
It generates valid HTML and renders on the page for crawlers to index it.
Minimum requirement is PHP 5.6.
How It Works
- First of all, embed this library in your PHP project
- comments rendering code on the page where you would like to index comments
- the script will do the rest, it will take current page URL
- send requests to AnyComment API to pull latest comments
- generate valid HTML mark-up for these comments
- output it in
noscript
tag which is not visible to the end user, but seen by crawlers
Internally, library uses cache. Initially it will make HTTP request to AnyComment API, next time it will get value from cache.
Installation
Add new package to composer.json
in your project directory:
or
Examples
Examples can be found in /examples
folder.
Notice that you need to provide your API key for each example to make it work.
Usage
You need to prepare a configuration class and pass your API key to constructor.
See example:
All versions of php-seo with dependencies
anycomment/php-sdk Version ^0.1.1
symfony/http-foundation Version ^5.1
tedivm/stash Version ^0.15.2