Browse Source

cleanup

tags/v2.8.2
Roumen Damianoff 1 year ago
parent
commit
8077102934
No account linked to committer's email address
4 changed files with 63 additions and 55 deletions
  1. 16
    16
      .editorconfig
  2. 8
    8
      .gitignore
  3. 15
    7
      README.md
  4. 24
    24
      phpunit.xml

+ 16
- 16
.editorconfig View File

@@ -1,16 +1,16 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[{package.json,.travis.yml}]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
[{package.json,.travis.yml}]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false

+ 8
- 8
.gitignore View File

@@ -1,8 +1,8 @@
/vendor
composer.phar
composer.lock
.directory
.DS_Store
Thumbs.db
*.sh
/tests/tmp
/vendor
composer.phar
composer.lock
.directory
.DS_Store
Thumbs.db
*.sh
/tests/tmp

+ 15
- 7
README.md View File

@@ -1,19 +1,15 @@
# [Laravelium-Sitemap](https://laravelium.com) package
[![Latest Stable Version](https://poser.pugx.org/laravelium/sitemap/version.png)](https://packagist.org/packages/laravelium/sitemap) [![Total Downloads](https://poser.pugx.org/roumen/sitemap/d/total.png)](https://packagist.org/packages/laravelium/sitemap) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitlab.com/Laravelium/Sitemap/blob/master/LICENSE) [![Contributing](https://img.shields.io/badge/PRs-welcome-blue.svg)](https://gitlab.com/Laravelium/Sitemap/blob/master/CONTRIBUTING.md)
A not so simple sitemap generator for Laravel 5.
## Notes
Branch dev-master is for development and is UNSTABLE!
Branch ``dev-master`` is for development and is UNSTABLE!
## Installation
Run the following command and provide the latest stable version (e.g v3.0.0) :
Run the following command and provide the latest stable version (e.g v3.0.\*) :
```bash
composer require laravelium/sitemap
@@ -23,18 +19,30 @@ or add the following to your `composer.json` file :
#### For Laravel 5.7
```json
"laravelium/sitemap": "2.9.*"
"laravelium/sitemap": "3.0.*"
```
or (development branch)
```json
"laravelium/sitemap": "3.0-dev"
```
#### For Laravel 5.6
```json
"laravelium/sitemap": "2.8.*"
```
or (development branch)
```json
"laravelium/sitemap": "2.8-dev"
```
#### For Laravel 5.5
```json
"laravelium/sitemap": "2.7.*"
```
or (development branch)
```json
"laravelium/sitemap": "2.7-dev"
```
Publish needed assets (styles, views, config files) :

+ 24
- 24
phpunit.xml View File

@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Sitemap Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/Laravelium/Sitemap</directory>
<exclude>
<directory>./tests/</directory>
</exclude>
</whitelist>
</filter>
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Sitemap Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/Laravelium/Sitemap</directory>
<exclude>
<directory>./tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>

Loading…
Cancel
Save