PHP code example of monomelodies / metaculous

1. Go to this page and download the library: Download monomelodies/metaculous 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/ */

    

monomelodies / metaculous example snippets




use Metaculous\Parser;

$parser = new Parser;




echo '<meta name="description" content="'.$parser->description($bodyText).'">';




echo '<meta name="keywords" content="'.implode(', ', $parser->keywords($bodyText)).'">';