Skip to content

Commit

Permalink
composer.json update
Browse files Browse the repository at this point in the history
  • Loading branch information
slvler committed Jan 20, 2023
1 parent 26b520b commit 829b873
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 slvler <slvler@slvler.com>
Copyright (c) 2022 slvler <slvler@proton.me>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ To install this package tou can use composer:

## License

The MIT License (MIT). Please see [License File](https://github.com/hs-qwerty/TMDB/blob/main/LICENSE.md) for more information.
The MIT License (MIT). Please see [License File](https://github.com/slvler/etherscan-service/blob/main/README.md) for more information.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "slvler/ether",
"description": "etherscan api",
"type": "package",
"license": "MIT",
"description": "An api service for etherscan.io",
"type": "package",
"authors": [
{
"name": "slvler",
"email": "[email protected]"
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Slvler\\Ether\\": "src/"
"slvler\\ether\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Slvler\\Ether\\Tests\\": "tests/"
"slvler\\ether\\Tests\\": "tests/"
}
},
"require": {},
Expand All @@ -31,7 +31,7 @@
"extra": {
"laravel": {
"providers": [
"Slvler\\Ether\\EtherServiceProvider"
"slvler\\ether\\EtherServiceProvider"
]
}
},
Expand Down
1 change: 0 additions & 1 deletion config/etherscan.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

'ether' => [
'etherscan_url' => 'https://api.etherscan.io/',

'etherscan_key' => 'WI48Q1V6RFNY7E1U773E2J5EAB8A1ZG8UM',
],

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Balance.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Slvler\Ether\Resources;
namespace slvler\ether\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
4 changes: 2 additions & 2 deletions src/Services/EtherScanService.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Slvler\Ether\Services;
namespace slvler\ether\Services;

use Slvler\Ether\Resources\Balance;
use slvler\ether\Resources\Balance;

class EtherScanService
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Feature/EtherScanTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Slvler\Ether\Tests\Feature;
namespace slvler\ether\Tests\Feature;

use Slvler\Ether\Services\EtherScanService;
use Slvler\Ether\Tests\TestCase;
use slvler\ether\Services\EtherScanService;
use slvler\ether\Tests\Unit\TestCase;

class EtherScanTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php → tests/Unit/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Slvler\Ether\Tests;
namespace slvler\ether\Tests\Unit;

use Slvler\Ether\EtherServiceProvider;
use slvler\ether\EtherServiceProvider;

class TestCase extends \Orchestra\Testbench\TestCase
{
Expand Down

0 comments on commit 829b873

Please sign in to comment.