diff --git a/README.md b/README.md index f3fdc3d..c56031f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # Sitemap Addon for Statamic ![Statamic 3.0+](https://img.shields.io/badge/Statamic-3.0+-FF269E?style=for-the-badge&link=https://statamic.com) +![Statamic 4.0+](https://img.shields.io/badge/Statamic-4.0+-FF269E?style=for-the-badge&link=https://statamic.com) +![Statamic 5.0+](https://img.shields.io/badge/Statamic-5.0+-FF269E?style=for-the-badge&link=https://statamic.com) -Automatically adds a sitemap to your Statamic v3 web site. The default path is <your web site>/sitemap.xml +Automatically adds a sitemap to your Statamic web site. The default path is <your web site>/sitemap.xml ## Installation @@ -12,7 +14,7 @@ Include the package with composer: composer require pecotamic/sitemap ``` -The package requires Laravel 7+ and PHP 7.3+. It will auto register. +The package requires PHP 7.3+ or PHP 8+. It will auto register. ## Configuration (optional) diff --git a/composer.json b/composer.json index ca4a2a7..b05d6db 100644 --- a/composer.json +++ b/composer.json @@ -8,8 +8,8 @@ "sitemap" ], "require": { - "php": "^5.4|^7.0|^8.0", - "statamic/cms": "^3.0|^4.0" + "php": "^7.1|^8.0", + "statamic/cms": "^3.0|^4.0|^5.0" }, "autoload": { "psr-4": { @@ -30,5 +30,10 @@ "Pecotamic\\Sitemap\\ServiceProvider" ] } + }, + "config": { + "allow-plugins": { + "pixelfear/composer-dist-plugin": true + } } }