Skip to content

Commit

Permalink
Merge pull request #20 from ARCANEDEV/update-laravel_5.7
Browse files Browse the repository at this point in the history
Adding Laravel 5.7 support
  • Loading branch information
arcanedev-maroc authored Apr 5, 2019
2 parents 603b5c9 + cbd5852 commit b92e437
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This package allows you to manage and generate a sitemap without you having to a
* Easy setup & configuration.
* Well documented & IDE Friendly.
* Well tested with maximum code quality.
* Laravel `5.4` to `5.6` are supported.
* Laravel `5.4` to `5.7` are supported.
* Made with :heart: & :coffee:.

## Table of contents
Expand All @@ -41,7 +41,7 @@ If you discover any security related issues, please email arcanedev.maroc@gmail.
- [ARCANEDEV][link-author]
- [All Contributors][link-contributors]

[badge_laravel]: https://img.shields.io/badge/Laravel-5.4%20to%205.6-orange.svg?style=flat-square
[badge_laravel]: https://img.shields.io/badge/Laravel-5.4%20to%205.7-orange.svg?style=flat-square
[badge_license]: https://img.shields.io/packagist/l/arcanedev/laravel-sitemap.svg?style=flat-square
[badge_build]: https://img.shields.io/travis/ARCANEDEV/LaravelSitemap.svg?style=flat-square
[badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANEDEV/LaravelSitemap.svg?style=flat-square
Expand Down
2 changes: 1 addition & 1 deletion _docs/0-Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This package allows you to manage and generate a sitemap without you having to a
### Features

* Easy setup & configuration.
* Laravel `5.4 | 5.5 | 5.6` are supported.
* Laravel `5.4` to `5.7` are supported.
* SEO-Friendly (Search engine optimization).
* Respects the [sitemaps.org](https://www.sitemaps.org/protocol.html) schemas.
* Multiple URLs & Sitemaps management.
Expand Down
7 changes: 5 additions & 2 deletions _docs/1-Installation-and-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

The Laravel Sitemap package has a few system requirements:

- PHP >= 7.0
- PHP >= 7.1.3

## Version Compatibility

Expand All @@ -19,14 +19,17 @@ The Laravel Sitemap package has a few system requirements:
| ![Laravel Sitemap v1.0.x][laravel_sitemap_1_0_x] | ![Laravel v5.4][laravel_5_4] |
| ![Laravel Sitemap v1.1.x][laravel_sitemap_1_1_x] | ![Laravel v5.5][laravel_5_5] |
| ![Laravel Sitemap v1.2.x][laravel_sitemap_1_2_x] | ![Laravel v5.6][laravel_5_6] |
| ![Laravel Sitemap v1.3.x][laravel_sitemap_1_3_x] | ![Laravel v5.7][laravel_5_7] |

[laravel_5_4]: https://img.shields.io/badge/v5.4-supported-brightgreen.svg?style=flat-square "Laravel v5.4"
[laravel_5_5]: https://img.shields.io/badge/v5.5-supported-brightgreen.svg?style=flat-square "Laravel v5.5"
[laravel_5_6]: https://img.shields.io/badge/v5.6-supported-brightgreen.svg?style=flat-square "Laravel v5.5"
[laravel_5_6]: https://img.shields.io/badge/v5.6-supported-brightgreen.svg?style=flat-square "Laravel v5.6"
[laravel_5_7]: https://img.shields.io/badge/v5.7-supported-brightgreen.svg?style=flat-square "Laravel v5.7"

[laravel_sitemap_1_0_x]: https://img.shields.io/badge/version-1.0.*-blue.svg?style=flat-square "Laravel Sitemap v1.0.*"
[laravel_sitemap_1_1_x]: https://img.shields.io/badge/version-1.1.*-blue.svg?style=flat-square "Laravel Sitemap v1.1.*"
[laravel_sitemap_1_2_x]: https://img.shields.io/badge/version-1.2.*-blue.svg?style=flat-square "Laravel Sitemap v1.2.*"
[laravel_sitemap_1_3_x]: https://img.shields.io/badge/version-1.3.*-blue.svg?style=flat-square "Laravel Sitemap v1.3.*"

## Composer

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"php": ">=7.1.3",
"ext-dom": "*",
"ext-json": "*",
"arcanedev/support": "~4.3.0"
"arcanedev/support": "~4.4.0"
},
"require-dev": {
"orchestra/testbench": "~3.6.0",
"orchestra/testbench": "~3.7.0",
"phpunit/phpcov": "~5.0",
"phpunit/phpunit": "~7.0",
"spatie/phpunit-snapshot-assertions": "~1.0"
"spatie/phpunit-snapshot-assertions": "~2.0"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'http://example.com/blog': 'Blog page'
'http://example.com/blog/posts/post-1': 'Blog / Post 1'
'http://example.com/blog/posts/post-2': 'Blog / Post 2'
'http://example.com/blog/posts/post-3': 'Blog / Post 3'
'http://example.com/blog/posts/post-4': 'Blog / Post 4'
'http://example.com/blog/posts/post-5': 'Blog / Post 5'
'http://example.com/blog/posts/post-6': 'Blog / Post 6'
'http://example.com/blog/posts/post-7': 'Blog / Post 7'
'http://example.com/blog/posts/post-8': 'Blog / Post 8'
'http://example.com/blog/posts/post-9': 'Blog / Post 9'
'http://example.com/blog/posts/post-10': 'Blog / Post 10'

0 comments on commit b92e437

Please sign in to comment.