Skip to content

Commit

Permalink
feat: breaking change. Bump to Laravel 9 or Laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriziofonte committed Mar 8, 2023
1 parent 3001799 commit f20ec74
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,24 @@

This package can generate a valid sitemap by writing your own custom logic for the sitemap structure, via the API provided by this package.

This package requires **PHP 7.4** and **Laravel 8**.
> Heads up! This package requires _PHP 8.1_ minimum and _Laravel 9_ or _Laravel 10_.
> For **PHP 7.4 and Laravel 8 compatibility** refer to **v1.1**
[![Latest Stable Version](https://poser.pugx.org/mfonte/laravel-sitemap/v/stable)](https://packagist.org/packages/mfonte/laravel-sitemap)
[![Total Downloads](https://poser.pugx.org/mfonte/laravel-sitemap/downloads)](https://packagist.org/packages/mfonte/laravel-sitemap)
[![Coverage Status](https://scrutinizer-ci.com/g/mauriziofonte/laravel-sitemap/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/mauriziofonte/laravel-sitemap/)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mauriziofonte/laravel-sitemap/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mauriziofonte/laravel-sitemap/)

## Installation

For Laravel 9 or 10 (min. PHP 8.1):

`composer require mfonte/laravel-sitemap`

For Laravel 8:

`composer require mfonte/laravel-sitemap "^1.1"`

## Creating sitemaps

You can only create your sitemap manually:
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
}
],
"require": {
"php": ">=7.4",
"illuminate/support": "^8.0",
"php": "^8.1",
"illuminate/support": "^9.0 || ^10.0",
"nesbot/carbon": "^2.0",
"spatie/laravel-package-tools": "^1.5"
"spatie/laravel-package-tools": "^1.14"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
Expand Down

0 comments on commit f20ec74

Please sign in to comment.