hettiger/seo-aggregator

Generate sitemap.xml and robots.txt files in Laravel or any PHP Application with ease.

1.1.1 2014-06-28 17:28 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:40:11 UTC


README

Latest Stable Version Build Status Scrutinizer Quality Score License

Generate sitemap.xml and robots.txt files in Laravel or any PHP Application with ease.

This package allows you throwing Eloquent Models at it in order to generate sitemap.xml + robots.txt files. It is mainly desired for use with Laravel 4. Anyways it's developed with the whole PHP Community in mind.

Brief Example for Usage with Laravel 4

$collection = Pages::all();

Sitemap::addCollection($collection, 'url-prefix');

return Response::make(Sitemap::getSitemapXml())
    ->header('Content-Type', 'text/xml');

Documentation

The Documentation can be found here.

If you have any Problems with the Documentation please open an Issue.

Require with Composer – Current Suggestion:

// composer.json

"require": {
    "php": ">=5.4.0",
    "hettiger/seo-aggregator": "1.1.*",
    // ...
},

Version Numbers

An Update is always considered safe on changes regarding the last digit of the Version Number. Never update when the first or second digit has changed without looking into the Release Notes.

License

SEO Aggregator is open-sourced software licensed under the MIT license