PHP code example of hettiger / seo-aggregator
1. Go to this page and download the library: Download hettiger/seo-aggregator 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/ */
hettiger / seo-aggregator example snippets
$collection = Pages::all();
Sitemap::addCollection($collection, 'url-prefix');
return Response::make(Sitemap::getSitemapXml())
->header('Content-Type', 'text/xml');
js
// composer.json
",
"hettiger/seo-aggregator": "1.1.*",
// ...
},