Download the PHP package rapidez/sitemap without Composer

On this page you can find all versions of the php package rapidez/sitemap. 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 sitemap

Rapidez sitemap

Rapidez sitemap index through Eventy filters

Installation

Configuration

You can publish the configuration file with:

This will create a config/rapidez-sitemap.php file where you can configure:

Make sure the specified disk is properly configured in your application's config/filesystems.php.

Views

You can publish the views with:

Sitemap Generation

To generate the sitemap manually, use:

This command will generate sitemap.xml for the default store and sitemap_{store_id}.xml for additional stores in your configured storage location.

If you'd like to schedule the sitemap generation you can add the rapidez:sitemap:generate command in routes/console.php, for more information see Task Scheduling

Hooking into the Generation Action

When the rapidez:sitemap:generate command runs, an Eventy action rapidez.sitemap.generate is triggered.

You can hook into this generation process by adding an action in the boot method of your service provider:

Adding Additional Sitemap Indexes with Eventy

If you have additional indexes, such as CMS pages or other custom routes, you can dynamically add them to your sitemap index based on the Store ID using the rapidez.site.{storeId} filter provided by Eventy.

To do this, simply add the following code to the appropriate place in your application (e.g., in a service provider or a dedicated sitemap configuration file):

License

GNU General Public License v3. Please see License File for more information.


All versions of sitemap with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
rapidez/core Version ^2.0|^3.0
ext-simplexml Version *
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 rapidez/sitemap contains the following files

Loading the files please wait ....