Browse Source

Added support for Laravel 7

tags/v7.0.1
Rumen Damyanov 1 week ago
parent
commit
6186c731b9
No account linked to committer's email address
7 changed files with 104 additions and 50 deletions
  1. 32
    0
      .gitlab-ci.yml
  2. 13
    0
      CHANGELOG-7.0.md
  3. 1
    1
      LICENSE.md
  4. 10
    1
      README.md
  5. 44
    44
      composer.json
  6. 2
    2
      src/Laravelium/Sitemap/Model.php
  7. 2
    2
      src/Laravelium/Sitemap/Sitemap.php

+ 32
- 0
.gitlab-ci.yml View File

@@ -22,6 +22,28 @@ before_script:

image: php:7.3

before_script:

# update os
- apt-get update -yqq

# install missing packages
- apt-get install wget git zip unzip -yqq

# install composer.phar
- curl -sS https://getcomposer.org/installer | php

# install xdebug
- pecl install xdebug-beta

# enable xdebug
- docker-php-ext-enable xdebug

# run composer install
- php composer.phar install

image: php:7.4

before_script:

# update os
@@ -60,4 +82,14 @@ test:php7.3:
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never

allow_failure: false

# test php 7.4
test:php7.4:

image: php:7.4

script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never

allow_failure: false

+ 13
- 0
CHANGELOG-7.0.md View File

@@ -0,0 +1,13 @@
# Change log


## v7.0.1 (2020-03-21)

### Added

- Added support to Laravel 7
- Added new branch for development ``7.0.x-dev``

### Fixed

- Minor bug fixes and optimizations

+ 1
- 1
LICENSE.md View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) Roumen Damianoff <[email protected].com>
Copyright (c) Rumen Damyanov <[email protected].com>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

+ 10
- 1
README.md View File

@@ -8,7 +8,7 @@
## Installation
Run the following command and provide the latest stable version (e.g v6.0.\*) :
Run the following command and provide the latest stable version (e.g v7.0.\*) :
```bash
composer require laravelium/sitemap
@@ -16,6 +16,15 @@ composer require laravelium/sitemap
*or add the following to your `composer.json` file :*
#### For Laravel 7.0
```json
"laravelium/sitemap": "7.0.*"
```
(development branch)
```json
"laravelium/sitemap": "7.0.x-dev"
```
#### For Laravel 6.0
```json
"laravelium/sitemap": "6.0.*"

+ 44
- 44
composer.json View File

@@ -1,44 +1,44 @@
{
"name": "laravelium/sitemap",
"description": "Laravelium Sitemap package for Laravel.",
"homepage": "https://gitlab.com/Laravelium",
"keywords": ["laravelium", "laravel", "php", "sitemap", "generator", "xml", "html", "google-news"],
"license": "MIT",
"authors": [
{
"name": "Roumen Damianoff",
"email": "r[email protected]",
"role": "Developer",
"homepage": "https://damianoff.com"
}
],
"support": {
"issues": "https://gitlab.com/Laravelium/Sitemap/issues",
"source": "https://gitlab.com/Laravelium/Sitemap",
"wiki": "https://gitlab.com/Laravelium/Sitemap/wikis/home"
},
"require": {
"php": ">=7.2",
"illuminate/support": "~6.0 || ~7.0",
"illuminate/filesystem": "~6.0 || ~7.0"
},
"require-dev": {
"laravel/framework": "~6.0 || ~7.0",
"phpunit/phpunit": "^7.5 || ^8.0",
"orchestra/testbench-core": "3.8.* || ~5.0"
},
"autoload": {
"psr-0": {
"Laravelium\\Sitemap": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"Laravelium\\Sitemap\\SitemapServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true
}
{
"name": "laravelium/sitemap",
"description": "Laravelium Sitemap package for Laravel.",
"homepage": "https://gitlab.com/Laravelium",
"keywords": ["laravelium", "laravel", "php", "sitemap", "generator", "xml", "html", "google-news"],
"license": "MIT",
"authors": [
{
"name": "Rumen Damyanov",
"email": "r@alfamatter.com",
"role": "Developer",
"homepage": "https://darumen.com"
}
],
"support": {
"issues": "https://gitlab.com/Laravelium/Sitemap/issues",
"source": "https://gitlab.com/Laravelium/Sitemap",
"wiki": "https://gitlab.com/Laravelium/Sitemap/wikis/home"
},
"require": {
"php": ">=7.2",
"illuminate/support": "~7.0",
"illuminate/filesystem": "~7.0"
},
"require-dev": {
"laravel/framework": "~7.0",
"phpunit/phpunit": "^8.0",
"orchestra/testbench-core": "~5.0"
},
"autoload": {
"psr-0": {
"Laravelium\\Sitemap": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"Laravelium\\Sitemap\\SitemapServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

+ 2
- 2
src/Laravelium/Sitemap/Model.php View File

@@ -5,9 +5,9 @@ namespace Laravelium\Sitemap;
/**
* Model class for laravel-sitemap package.
*
* @author Roumen Damianoff <[email protected].com>
* @author Rumen Damyanov <[email protected].com>
*
* @version 6.0.1
* @version 7.0.1
*
* @link https://gitlab.com/Laravelium
*

+ 2
- 2
src/Laravelium/Sitemap/Sitemap.php View File

@@ -5,9 +5,9 @@ namespace Laravelium\Sitemap;
/**
* Sitemap class for laravel-sitemap package.
*
* @author Roumen Damianoff <[email protected].com>
* @author Rumen Damyanov <[email protected].com>
*
* @version 6.0.1
* @version 7.0.1
*
* @link https://gitlab.com/Laravelium
*

Loading…
Cancel
Save