Skip to content

Commit 1cce7ca

Browse files
committed
elegantly and L12
1 parent 3deb93a commit 1cce7ca

File tree

19 files changed

+98
-62
lines changed

19 files changed

+98
-62
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/Finller/laravel-forex/discussions/new?category=q-a
4+
url: https://github.com/ElegantEngineeringTech/laravel-forex/discussions/new?category=q-a
55
about: Ask the community for help
66
- name: Request a feature
7-
url: https://github.com/Finller/laravel-forex/discussions/new?category=ideas
7+
url: https://github.com/ElegantEngineeringTech/laravel-forex/discussions/new?category=ideas
88
about: Share ideas for new features
99
- name: Report a security issue
10-
url: https://github.com/Finller/laravel-forex/security/policy
10+
url: https://github.com/ElegantEngineeringTech/laravel-forex/security/policy
1111
about: Learn how to notify us for sensitive bugs

.github/workflows/run-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
os: [ubuntu-latest]
20-
php: [8.3, 8.4]
21-
laravel: [11.*]
19+
os: [ubuntu-latest, windows-latest]
20+
php: [8.4, 8.3]
21+
laravel: [12.*, 11.*]
2222
stability: [prefer-stable]
2323
include:
24+
- laravel: 12.*
25+
testbench: 10.*
2426
- laravel: 11.*
2527
testbench: 9.*
2628

@@ -44,7 +46,7 @@ jobs:
4446
4547
- name: Install dependencies
4648
run: |
47-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
49+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4850
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4951
5052
- name: List Installed Dependencies

CHANGELOG.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,52 @@ All notable changes to `laravel-forex` will be documented in this file.
44

55
## v1.1.2 - 2024-03-19
66

7-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.1.1...v1.1.2
7+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.1.1...v1.1.2
88

99
## v1.1.1 - 2024-03-19
1010

11-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.6...v1.1.0
11+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.6...v1.1.0
1212

13-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.1.0...v1.1.1
13+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.1.0...v1.1.1
1414

1515
## v1.1.0 - 2024-03-19
1616

17-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.6...v1.1.0
17+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.6...v1.1.0
1818

1919
## v1.0.6 Laravel 11 - 2024-03-16
2020

21-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.5...v1.0.6
21+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.5...v1.0.6
2222

2323
## v1.0.5 - 2024-03-03
2424

25-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.4...v1.0.5
25+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.4...v1.0.5
2626

2727
## v1.0.4 - 2024-03-03
2828

29-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.3...v1.0.4
29+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.3...v1.0.4
3030

3131
## v1.0.3 - 2024-03-03
3232

33-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.2...v1.0.3
33+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.2...v1.0.3
3434

3535
## v1.0.2 - 2024-03-03
3636

37-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.0...v1.0.1
37+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.0...v1.0.1
3838

39-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.1...v1.0.2
39+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.1...v1.0.2
4040

4141
## v1.0.1 - 2024-03-03
4242

43-
**Full Changelog**: https://github.com/finller/laravel-forex/compare/v1.0.0...v1.0.1
43+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/compare/v1.0.0...v1.0.1
4444

4545
## v1.0.0 - 2024-03-03
4646

4747
### What's Changed
4848

49-
* Bump ramsey/composer-install from 2 to 3 by @dependabot in https://github.com/finller/laravel-forex/pull/1
49+
- Bump ramsey/composer-install from 2 to 3 by @dependabot in https://github.com/ElegantEngineeringTech/laravel-forex/pull/1
5050

5151
### New Contributors
5252

53-
* @dependabot made their first contribution in https://github.com/finller/laravel-forex/pull/1
53+
- @dependabot made their first contribution in https://github.com/ElegantEngineeringTech/laravel-forex/pull/1
5454

55-
**Full Changelog**: https://github.com/finller/laravel-forex/commits/v1.0.0
55+
**Full Changelog**: https://github.com/ElegantEngineeringTech/laravel-forex/commits/v1.0.0

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Forex for Laravel
22

3-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/finller/laravel-forex.svg?style=flat-square)](https://packagist.org/packages/finller/laravel-forex)
4-
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/finller/laravel-forex/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/finller/laravel-forex/actions?query=workflow%3Arun-tests+branch%3Amain)
5-
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/finller/laravel-forex/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/finller/laravel-forex/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
6-
[![Total Downloads](https://img.shields.io/packagist/dt/finller/laravel-forex.svg?style=flat-square)](https://packagist.org/packages/finller/laravel-forex)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/elegantly/laravel-forex.svg?style=flat-square)](https://packagist.org/packages/elegantly/laravel-forex)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/elegantly/laravel-forex/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-forex/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/elegantly/laravel-forex/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-forex/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
6+
[![Total Downloads](https://img.shields.io/packagist/dt/elegantly/laravel-forex.svg?style=flat-square)](https://packagist.org/packages/elegantly/laravel-forex)
77

88
Easily retreive latest exchange rates value in your app.
99

@@ -14,7 +14,7 @@ By default, this package use the free endpoint provided by [exchangerate-api.com
1414
You can install the package via composer:
1515

1616
```bash
17-
composer require finller/laravel-forex
17+
composer require elegantly/laravel-forex
1818
```
1919

2020
You can publish the config file with:
@@ -27,7 +27,7 @@ This is the contents of the published config file:
2727

2828
```php
2929

30-
use Finller\Forex\Integrations\ExchangeRateApi\ExchangeRateApiConnector;
30+
use Elegantly\Forex\Integrations\ExchangeRateApi\ExchangeRateApiConnector;
3131

3232
return [
3333

@@ -52,7 +52,7 @@ return [
5252

5353
```php
5454

55-
$rates = \Finller\Forex\Facades\Forex::get('USD');
55+
$rates = \Elegantly\Forex\Facades\Forex::get('USD');
5656

5757
$USD_to_EUR_rate = $rates['EUR'];
5858

composer.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "finller/laravel-forex",
2+
"name": "elegantly/laravel-forex",
33
"description": "Forex for Laravel",
44
"keywords": [
5-
"Finller",
5+
"Elegantly",
66
"laravel",
77
"laravel-forex"
88
],
9-
"homepage": "https://github.com/finller/laravel-forex",
9+
"homepage": "https://github.com/ElegantEngineeringTech/laravel-forex",
1010
"license": "MIT",
1111
"authors": [
1212
{
@@ -25,25 +25,25 @@
2525
"spatie/laravel-package-tools": "^1.14.0"
2626
},
2727
"require-dev": {
28-
"laravel/pint": "^1.0",
29-
"nunomaduro/collision": "^7.8||^8.1",
30-
"larastan/larastan": "^2.0.1",
31-
"orchestra/testbench": "^8.8||^9.0",
32-
"pestphp/pest": "^2.20",
33-
"pestphp/pest-plugin-arch": "^2.5",
34-
"pestphp/pest-plugin-laravel": "^2.0",
35-
"phpstan/extension-installer": "^1.1",
36-
"phpstan/phpstan-deprecation-rules": "^1.0",
37-
"phpstan/phpstan-phpunit": "^1.0"
28+
"laravel/pint": "^1.14",
29+
"nunomaduro/collision": "^8.1.1||^7.10.0",
30+
"larastan/larastan": "^2.9||^3.0",
31+
"orchestra/testbench": "^10.0.0||^9.0.0||^8.22.0",
32+
"pestphp/pest": "^3.0",
33+
"pestphp/pest-plugin-arch": "^3.0",
34+
"pestphp/pest-plugin-laravel": "^3.0",
35+
"phpstan/extension-installer": "^1.3||^2.0",
36+
"phpstan/phpstan-deprecation-rules": "^1.1||^2.0",
37+
"phpstan/phpstan-phpunit": "^1.3||^2.0"
3838
},
3939
"autoload": {
4040
"psr-4": {
41-
"Finller\\Forex\\": "src/"
41+
"Elegantly\\Forex\\": "src/"
4242
}
4343
},
4444
"autoload-dev": {
4545
"psr-4": {
46-
"Finller\\Forex\\Tests\\": "tests/",
46+
"Elegantly\\Forex\\Tests\\": "tests/",
4747
"Workbench\\App\\": "workbench/app/"
4848
}
4949
},
@@ -75,10 +75,10 @@
7575
"extra": {
7676
"laravel": {
7777
"providers": [
78-
"Finller\\Forex\\ForexServiceProvider"
78+
"Elegantly\\Forex\\ForexServiceProvider"
7979
],
8080
"aliases": {
81-
"Forex": "Finller\\Forex\\Facades\\Forex"
81+
"Forex": "Elegantly\\Forex\\Facades\\Forex"
8282
}
8383
}
8484
},

config/forex.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// config for Finller/Forex
46

5-
use Finller\Forex\Integrations\ExchangeRateApi\ExchangeRateApiConnector;
7+
use Elegantly\Forex\Integrations\ExchangeRateApi\ExchangeRateApiConnector;
68

79
return [
810

pint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"preset": "laravel",
3+
"rules": {
4+
"declare_strict_types": true,
5+
"explicit_string_variable": true,
6+
"mb_str_functions": true
7+
}
8+
}

src/Facades/Forex.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

3-
namespace Finller\Forex\Facades;
3+
declare(strict_types=1);
4+
5+
namespace Elegantly\Forex\Facades;
46

57
use Illuminate\Support\Facades\Facade;
68

@@ -10,12 +12,12 @@
1012
* @method static array<string, int|float> query(string $currency)
1113
* @method static array<string, int|float> refresh(string $currency)
1214
*
13-
* @see \Finller\Forex\Forex
15+
* @see \Elegantly\Forex\Forex
1416
*/
1517
class Forex extends Facade
1618
{
1719
protected static function getFacadeAccessor()
1820
{
19-
return \Finller\Forex\Forex::class;
21+
return \Elegantly\Forex\Forex::class;
2022
}
2123
}

src/Forex.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

3-
namespace Finller\Forex;
3+
declare(strict_types=1);
4+
5+
namespace Elegantly\Forex;
46

57
class Forex
68
{

src/ForexClient.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

3-
namespace Finller\Forex;
3+
declare(strict_types=1);
4+
5+
namespace Elegantly\Forex;
46

57
interface ForexClient
68
{

0 commit comments

Comments
 (0)