Download the PHP
package dividing-zero/laravel-dynamic-sitemap without Composer
On this page you can find all versions of the php package
dividing-zero/laravel-dynamic-sitemap. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor dividing-zero Package laravel-dynamic-sitemap Short Description Automatically generate dynamic sitemaps at runtime using Eloquent Models in Laravel. License
MIT
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.
Informations about the package laravel-dynamic-sitemap
Laravel Dynamic Sitemap
Automatically generate dynamic sitemaps at runtime using Eloquent Models in Laravel.
Easily include records for specific Eloquent models by using the Sitemappable trait, and specific routes using the sitemappable middleware.
Installation
Configuration
Publish the config file:
Edit config/sitemap.php to specify models and settings:
Sitemappable Trait
To include records for specific models in the sitemap, add the fully qualified class name to the dynamic-sitemap.models configuration, and inherit the sitemappable trait on the corresponding model.
Sitemappable Middleware
To include specific routes in the sitemap, add the sitemappable middleware to those routes:
Note: If any route parameters exist they will be removed, since route parameters cannot be resolved automatically.
Usage
Visit /sitemap.xml in your browser to view the generated sitemap.
Caching
The sitemap is cached for the duration specified in cache_lifetime. Set to 0 to disable caching (the sitemap will be regenerated on every request).
License
MIT
All versions of laravel-dynamic-sitemap with dependencies
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 dividing-zero/laravel-dynamic-sitemap contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.