1. Go to this page and download the library: Download polon/optimizer library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
polon / optimizer example snippets
= new \Polon\Optimizer\Optimizer();
echo $op->optimize(
"Optimizer Happy and @Polon",
"Is a compact and easy-to-use tag creator to optimize your site",
"https://www.polon.digital/polon/optimizer/example/",
"https://www.polon.digital/uploads/images/2017/11/curso-de-html5-preparando-ambiente-de-trabalho-aula-02-1511276983.jpg"
)->render();
= new \Polon\Optimizer\Optimizer();
echo $op->publisher(
"polon",
"polondigital",
"107305124528362639842",
"103958419096641225872"
)->render();
= new \Polon\Optimizer\Optimizer();
echo $op->twitterCard(
"@polondigital",
"@polon",
"polon.digital",
"summary_large_image"
)->render();
= new \Polon\Optimizer\Optimizer();
echo $op->openGraph(
"polon",
"pt_BR",
"article"
)->render();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.