Download the PHP package flyingmana/largexmlsitemap without Composer

On this page you can find all versions of the php package flyingmana/largexmlsitemap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package largexmlsitemap

Name

LargeXMLSitemap PHP classes for generation of huge XML sitemaps

About

LargeXMLSitemap allows PHP developers to generate search engine XML sitemaps with millions of URLs, and automatically handles correct sizing, splitting and compression of the generated XML file structure. Unlike other tools, LargeXMLSitemap does not crawl your site to generate a XML structure of your browseable URLs - it's a collection of PHP classes which can be used from within your sites code to generate these structures. If, for example, you have an online shopping site, it's very easy to create correctly structured, sized and compressed XML sitemaps with the URLs to all your product pages. Customized versions of these classes are in production use on the MyHammer platform and are reliably generating sitemaps with millions of URLs each day.

Aim of this project

We are releasing those classes as Open Source Software because we believe they might be useful for other sites which need to generate huge XML sitemap structures, and because there is still room for a lot of optimizations and more features. There is a Google Group for all discussions related to our Open Source projects - we would love to hear your opinion, ideas and questions: http://groups.google.com/group/myhammer-opensource

Usage

Please see the examples.

General

cXmlSitemapConfig is optional and not used inside the other classes. Provide filename without ending. .xml or xml.gz are appended depending on compress flag. The sitemap filenames get a counter starting with 0.

Create new Sitemap files

Create a new Generator Object $oSitemapCreator = new cXmlSitemapGeneratorWrite(FILENAME, SAVE COMPRESSED, PATH);

Delete the current files $oSitemapCreator->deleteCurrent();

Open the first file $oSitemapCreator->open();

Add some URLs to the Sitemap $oSitemapCreator->addUrl(URL, Last modification time, change frequency, priority) $oSitemapCreator->addUrl(URL, Last modification time, change frequency, priority) $oSitemapCreator->addUrl(URL, Last modification time, change frequency, priority)

Close the generator and save the last sitemap file $oSitemapCreator->save();

Update the sitemap index $oSitemapCreator->updateSitemapIndex(Path to Sitemap Indexfile);

Authors

Jan Christiansen

Contact

Send suggestions, Feedback, problems or whatever to [email protected]


All versions of largexmlsitemap with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package flyingmana/largexmlsitemap contains the following files

Loading the files please wait ...