bard maintained by laravelista
Last update
2018/09/17 11:54
License
Require
- php >=5.4
- sabre/xml ^2.1
- symfony/http-foundation ~2.0|~3.0|~4.0
- nesbot/carbon ~1.0
Last update
2018/09/17 10:09
License
Require
- php >=5.4
- sabre/xml ^2.1
- symfony/http-foundation ~2.0|~3.0|~4.0
- nesbot/carbon ~1.0
Last update
2018/09/17 10:04
License
Require
- php >=5.4
- sabre/xml ^2.1
- symfony/http-foundation ~2.0|~3.0|~4.0
- nesbot/carbon ^2.1
Last update
2018/02/07 22:44
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0|~3.0|~4.0
- nesbot/carbon ~1.0
Last update
2017/07/03 13:51
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0|~3.0
- nesbot/carbon ~1.0
Last update
2016/03/05 20:18
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0|~3.0
- nesbot/carbon ~1.0
Last update
2015/04/01 01:03
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
- nesbot/carbon ~1.0
Last update
2015/04/01 00:36
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
- nesbot/carbon ~1.0
Last update
2015/04/01 00:17
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
- nesbot/carbon ~1.0
Last update
2015/03/30 16:05
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
- nesbot/carbon ~1.0
Last update
2015/03/30 12:10
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
- nesbot/carbon ~1.18
Last update
2015/03/30 12:05
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
- nesbot/carbon ~1.18
Last update
2015/03/30 01:31
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
- nesbot/carbon ~1.18
Last update
2015/03/30 00:29
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
Last update
2015/03/30 00:07
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
Last update
2015/03/29 23:20
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
Last update
2015/03/29 01:23
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
Last update
2015/03/28 16:51
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
Last update
2015/03/28 13:27
License
Require
- php >=5.4
- sabre/xml 0.4.*
- symfony/http-foundation ~2.0
Bard
Bard is the simplest PHP Sitemap package, just add some URLs and you are ready to go.
Abandoned! I suggest using spatie/larevel-sitemap instead. It is a much better package with automatic sitemap generation.
Syntax
use Laravelista\Bard\UrlSet;
use Sabre\Xml\Writer;
use Carbon\Carbon;
$sitemap = new UrlSet(new Writer);
$sitemap->addUrl('http://domain.com/contact')
->setPriority(0.8)
->setChangeFrequency('hourly')
->setLastModification(Carbon::now())
->addTranslation('hr', 'http://domain.com/hr/contact');
$sitemap->render()->send();
Start learning
Installation
Run this from your project root in command line:
composer require laravelista/bard
Documentation
Tutorials
- Bard 2.0 and Laravel
- Creating a Sitemap with Bard 2.0
- Sitemap for better SEO
- Create a sitemap with Laravel and Bard
