Skip to content

Commit a1f81e6

Browse files
committed
prepare for laravel
1 parent b2f96e8 commit a1f81e6

12 files changed

+541
-55
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ One day I will add other crypto currencies. Or how about you? :)
77

88

99
```php
10-
use Murich\PhpCryptocurrencyAddressValidation\Validation\BTC as BTCValidator;
10+
use Merkeleon\PhpCryptocurrencyAddressValidation\Validation\BTC as BTCValidator;
1111

1212
$validator = new BTCValidator('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp');
1313
var_dump($validator->validate());

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "murich/php-cryptocurrency-address-validation",
2+
"name": "Merkeleon/php-cryptocurrency-address-validation",
33
"description": "Cryptocurrency address validation. Currently supports litecoin and bitcoin.",
44
"authors": [
55
{
@@ -13,7 +13,7 @@
1313
},
1414
"autoload": {
1515
"psr-4": {
16-
"Murich\\PhpCryptocurrencyAddressValidation\\": "src"
16+
"Merkeleon\\PhpCryptocurrencyAddressValidation\\": "src"
1717
}
1818
}
1919
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace Merkeleon\PhpCryptocurrencyAddressValidation\Exception;
4+
5+
6+
class CryptocurrencyValidatorNotFound extends \Exception
7+
{
8+
public function __construct($iso)
9+
{
10+
parent::__construct(sprintf('Cryptocurrency validator for %s not found', $iso));
11+
}
12+
}

0 commit comments

Comments
 (0)