Skip to content

Commit

Permalink
change namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbuild committed Oct 26, 2022
1 parent 522e561 commit ac2d815
Show file tree
Hide file tree
Showing 11 changed files with 578 additions and 636 deletions.
164 changes: 55 additions & 109 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,109 +1,55 @@
# **[Laravelium Sitemap](https://laravelium.com) package**

[![License](https://poser.pugx.org/laravelium/sitemap/license)](https://packagist.org/packages/laravelium/sitemap) [![PHP tests](https://github.com/Laravelium/laravel-sitemap/workflows/PHP%20tests/badge.svg?branch=master)](https://github.com//Laravelium/laravel-sitemap/actions?query=workflow%3A%22PHP+tests%22) [![Maintainability](https://api.codeclimate.com/v1/badges/c7b8c0079addb1217836/maintainability)](https://codeclimate.com/github/Laravelium/laravel-sitemap/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/c7b8c0079addb1217836/test_coverage)](https://codeclimate.com/github/Laravelium/laravel-sitemap/test_coverage) [![Style Status](https://github.styleci.io/repos/10392044/shield?style=normal&branch=master)](https://github.styleci.io/repos/10392044) [![Latest Stable Version](https://poser.pugx.org/laravelium/sitemap/v/stable)](https://packagist.org/packages/laravelium/sitemap) [![Total Downloads](https://poser.pugx.org/laravelium/sitemap/downloads)](https://packagist.org/packages/laravelium/sitemap)

*Laravelium Sitemap generator for Laravel.*

## Notes

- Dev Branches are for development and are **UNSTABLE** (*use on your own risk*)!

## Installation

Run the following command and provide the latest stable version (e.g v8.\*) :

```bash
composer require laravelium/sitemap
```

*or add the following to your `composer.json` file :*

#### For Laravel 8
```json
"laravelium/sitemap": "8.*"
```
(development branch)
```json
"laravelium/sitemap": "8.x-dev"
```

#### For Laravel 7
```json
"laravelium/sitemap": "7.*"
```
(development branch)
```json
"laravelium/sitemap": "7.x-dev"
```

#### For Laravel 6
```json
"laravelium/sitemap": "6.*"
```
(development branch)
```json
"laravelium/sitemap": "6.x-dev"
```

#### For Laravel 5.8
```json
"laravelium/sitemap": "3.1.*"
```
(development branch)
```json
"laravelium/sitemap": "3.1.x-dev"
```

#### For Laravel 5.7
```json
"laravelium/sitemap": "3.0.*"
```
(development branch)
```json
"laravelium/sitemap": "3.0.x-dev"
```

#### For Laravel 5.6
```json
"laravelium/sitemap": "2.8.*"
```
(development branch)
```json
"laravelium/sitemap": "2.8.x-dev"
```

#### For Laravel 5.5
```json
"laravelium/sitemap": "2.7.*"
```
(development branch)
```json
"laravelium/sitemap": "2.7.x-dev"
```

*Publish needed assets (styles, views, config files) :*

```bash
php artisan vendor:publish --provider="Laravelium\Sitemap\SitemapServiceProvider"
```
**Note:** *Composer won't update them after `composer update`, you'll need to do it manually!*

## Examples

- [How to generate dynamic sitemap (with optional caching)](https://github.com/Laravelium/laravel-sitemap/wiki/Dynamic-sitemap)

- [How to generate BIG sitemaps (with more than 1M items)](https://github.com/Laravelium/laravel-sitemap/wiki/Sitemap-index)

- [How to generate sitemap to a file](https://github.com/Laravelium/laravel-sitemap/wiki/Generate-sitemap)

- [How to use multiple sitemaps with sitemap index](https://github.com/Laravelium/laravel-sitemap/wiki/Generate-BIG-sitemaps)

and more in the [Wiki](https://github.com/Laravelium/laravel-sitemap/wiki).

## Contribution guidelines

Before submiting new merge request or creating new issue, please read [contribution guidelines](https://gitlab.com/Laravelium/Sitemap/blob/master/CONTRIBUTING.md).

## License

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
# **Victorbuild Sitemap package**

[![PHP tests](https://github.com/victorbuild/laravel-sitemap/workflows/PHP%20tests/badge.svg?branch=master)](https://github.com//victorbuild/laravel-sitemap/actions?query=workflow%3A%22PHP+tests%22) [![Maintainability](https://api.codeclimate.com/v1/badges/c7b8c0079addb1217836/maintainability)](https://codeclimate.com/github/victorbuild/laravel-sitemap/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/c7b8c0079addb1217836/test_coverage)](https://codeclimate.com/github/victorbuild/laravel-sitemap/test_coverage) [![Style Status](https://github.styleci.io/repos/10392044/shield?style=normal&branch=master)](https://github.styleci.io/repos/10392044) [![Latest Stable Version](https://poser.pugx.org/victorbuild/sitemap/v/stable)](https://packagist.org/packages/victorbuild/sitemap) [![Total Downloads](https://poser.pugx.org/victorbuild/sitemap/downloads)](https://packagist.org/packages/victorbuild/sitemap)

*Sitemap generator for Laravel9.*

## Notes

- Dev Branches are for development and are **UNSTABLE** (*use on your own risk*)!

## Installation

Run the following command and provide the latest stable version (e.g v8.\*) :

```bash
composer require victorbuild/sitemap
```

*or add the following to your `composer.json` file :*

#### For Laravel 9
```json
"victorbuild/sitemap": "9.*"
```
(development branch)
```json
"victorbuild/sitemap": "9.x-dev"
```

*Publish needed assets (styles, views, config files) :*

```bash
php artisan vendor:publish --provider="Victorbuild\Sitemap\SitemapServiceProvider"
```
**Note:** *Composer won't update them after `composer update`, you'll need to do it manually!*

## Examples

- [How to generate dynamic sitemap (with optional caching)](https://github.com/victorbuild/laravel-sitemap/wiki/Dynamic-sitemap)

- [How to generate BIG sitemaps (with more than 1M items)](https://github.com/victorbuild/laravel-sitemap/wiki/Sitemap-index)

- [How to generate sitemap to a file](https://github.com/victorbuild/laravel-sitemap/wiki/Generate-sitemap)

- [How to use multiple sitemaps with sitemap index](https://github.com/victorbuild/laravel-sitemap/wiki/Generate-BIG-sitemaps)

and more in the [Wiki](https://github.com/victorbuild/laravel-sitemap/wiki).

## Contribution guidelines

Before submiting new merge request or creating new issue, please read [contribution guidelines](https://gitlab.com/victorbuild/Sitemap/blob/master/CONTRIBUTING.md).

## License

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "victorbuild/sitemap",
"description": "Original Laravelium Sitemap package for Laravel9 and PHP8",
"description": "sitemap package for Laravel9 and PHP8",
"keywords": ["laravel", "php", "sitemap", "generator", "xml", "html", "google-news"],
"license": "MIT",
"authors": [
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/Laravelium/Sitemap</directory>
<directory suffix=".php">./src/Victorbuild/Sitemap</directory>
<exclude>
<directory>./tests/</directory>
</exclude>
Expand All @@ -25,4 +25,4 @@
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
</phpunit>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Laravelium\Sitemap;
namespace Victorbuild\Sitemap;

/**
* Model class for laravel-sitemap package.
Expand All @@ -9,8 +9,6 @@
*
* @version 7.0.1
*
* @link https://gitlab.com/Laravelium
*
* @license http://opensource.org/licenses/mit-license.php MIT License
*/
class Model
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Laravelium\Sitemap;
namespace Victorbuild\Sitemap;

/**
* Sitemap class for laravel-sitemap package.
Expand All @@ -9,8 +9,6 @@
*
* @version 7.0.1
*
* @link https://gitlab.com/Laravelium
*
* @license http://opensource.org/licenses/mit-license.php MIT License
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Laravelium\Sitemap;
namespace Victorbuild\Sitemap;

use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\Support\DeferrableProvider;
Expand Down
Loading

0 comments on commit ac2d815

Please sign in to comment.