Download the PHP package fr05t1k/sitemap without Composer
On this page you can find all versions of the php package fr05t1k/sitemap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fr05t1k/sitemap
More information about fr05t1k/sitemap
Files in fr05t1k/sitemap
Download fr05t1k/sitemap
More information about fr05t1k/sitemap
Files in fr05t1k/sitemap
Vendor fr05t1k
Package sitemap
Short Description Sitemap and sitemap index builder
License BSD-3-Clause
Homepage https://github.com/samdark/sitemap
Package sitemap
Short Description Sitemap and sitemap index builder
License BSD-3-Clause
Homepage https://github.com/samdark/sitemap
Keywords Sitemap
Please rate this library. Is it a good library?
Informations about the package sitemap
Sitemap
Sitemap and sitemap index builder.
Features
- Create sitemap files.
- Create sitemap index files.
- Automatically creates new file if 50000 URLs limit is reached.
- Memory efficient buffer of configurable size.
Installation
Installation via Composer is very simple:
After that, make sure your application autoloads Composer classes by including
vendor/autoload.php
.
How to use it
Options
There are two methods to configre Sitemap
instance:
setMaxUrls($number)
. Sets maximum number of URLs to write in a single file. Default is 50000 which is the limit according to specification and most of existing implementations.setBufferSize($number)
. Sets number of URLs to be kept in memory before writing it to file. Default is 1000. If you have more memory consider increasing it. If 1000 URLs doesn't fit, decrease it.setUseIndent($bool)
. Sets if XML should be indented. Default is true.
Running tests
In order to run tests perform the following commands:
All versions of sitemap with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package fr05t1k/sitemap contains the following files
Loading the files please wait ....