https://github.com/hettiger/seo-aggregator
Generate sitemap.xml and robots.txt files in Laravel or any PHP Application with ease.
https://github.com/hettiger/seo-aggregator
Last synced: about 1 year ago
JSON representation
Generate sitemap.xml and robots.txt files in Laravel or any PHP Application with ease.
- Host: GitHub
- URL: https://github.com/hettiger/seo-aggregator
- Owner: hettiger
- License: mit
- Created: 2014-02-08T17:25:34.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-28T17:29:42.000Z (about 12 years ago)
- Last Synced: 2025-03-27T01:11:58.657Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 919 KB
- Stars: 30
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
## SEO Aggregator
[](https://packagist.org/packages/hettiger/seo-aggregator) [](https://travis-ci.org/hettiger/seo-aggregator) [](https://scrutinizer-ci.com/g/hettiger/seo-aggregator/) [](https://packagist.org/packages/hettiger/seo-aggregator)
Generate sitemap.xml and robots.txt files in Laravel or any PHP Application with ease.
This package allows you throwing [Eloquent Models](https://github.com/illuminate/database) at it in order to generate
sitemap.xml + robots.txt files. It is mainly desired for use with [Laravel 4](http://laravel.com). Anyways it's
developed with the whole PHP Community in mind.
### Brief Example for Usage with Laravel 4
```php
$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](docs/index.md).
If you have any Problems with the Documentation please open an Issue.
### Require with Composer – Current Suggestion:
```js
// 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](release-notes.md).
| Versions | Laravel compatibility | PHP compatibility |
| -------- | --------------------- | ----------------- |
| 1.1.* | Laravel 4.2 | HHVM, 5.4+ |
| 1.0.* | Laravel 4.1 | 5.3+ |
| 0.\*.* | Laravel 4.1 | 5.3+ |
### License
SEO Aggregator is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)