2017 © Pedro Peláez
 

library sitemaps

A simple, scalable, highly extensible and seo friendly php sitemap generator.

image

prolificrohit/sitemaps

A simple, scalable, highly extensible and seo friendly php sitemap generator.

  • Wednesday, February 7, 2018
  • by prolificrohit
  • Repository
  • 0 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 33 % Grown

The README.md

PHP Sitemaps Package

A simple, scalable, highly extensible and seo friendly php sitemap generator. It also supports image sitemap., (*1)

Installation

You can install the package through composer:, (*2)

composer require prolificrohit/sitemaps, (*3)

Examples

  • For any array of urls:, (*4)

    $sitemap = new Sitemap("sitemaps/test.xml");
    $sitemap->setMaxUrls(5000);
    $sitemap->setBuffer(1000);
    foreach ($urls as $url) {
        $sitemap->addUrl($url);
    }
    $fileNames = $sitemap->finish();
    
  • To add images:, (*5)

    foreach ($items as $item) {
      $sitemap->addUrl($item->link, function($url) use($item){
          $url->addImage($item->image, "Caption", "Title");
      });
    }
    

Dependency

It is a simple php package and hence it supports all php based frameworks like laravel, zend, symfony, falcon, lumen etc. The only dependency for this package is PHP., (*6)

Coming Soon

Support for video and news sitemap is on the way., (*7)

License

License: GPL v3, (*8)

The Versions

07/02 2018

dev-master

9999999-dev

A simple, scalable, highly extensible and seo friendly php sitemap generator.

  Sources   Download

GNU GPLv3 GPL-3.0-or-later

The Requires

  • php >=5.1.2

 

by Rohit Agarwal

php generator sitemap extensible scalable sitemap-generator sitemap-xml seo-friendly simple-sitemaps

07/02 2018

1.0.2

1.0.2.0

A simple, scalable, highly extensible and seo friendly php sitemap generator.

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.1.2

 

by Rohit Agarwal

php generator sitemap extensible scalable sitemap-generator sitemap-xml seo-friendly simple-sitemaps

01/01 2018

1.0.1

1.0.1.0

A simple, scalable, highly extensible and seo friendly php sitemap generator.

  Sources   Download

GNU GPLv3

The Requires

  • php >=5.1.2

 

by Rohit Agarwal

php generator sitemap extensible scalable sitemap-generator sitemap-xml seo-friendly simple-sitemaps