diff --git a/Example.php b/Example.php index 8591a0d..30bf8aa 100644 --- a/Example.php +++ b/Example.php @@ -1,10 +1,10 @@ The first part of the Postcode eg PO1 is called the outward code as it identifies the town or district to which the letter is to be sent for further sorting. The second part of the postcode eg 1EB is called the inward code. ```php -$outwardCode = \RapidWeb\Postcodes\Utils\Tokenizer::outward('ST163JR'); // Returns ST16 -$inwardCode = \RapidWeb\Postcodes\Utils\Tokenizer::inward('ST163JR'); // Returns 3JR +$outwardCode = \DivineOmega\Postcodes\Utils\Tokenizer::outward('ST163JR'); // Returns ST16 +$inwardCode = \DivineOmega\Postcodes\Utils\Tokenizer::inward('ST163JR'); // Returns 3JR ``` diff --git a/composer.json b/composer.json index 1c6dd92..f700cb9 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { - "name": "rapidwebltd/php-postcodes", + "name": "divineomega/php-postcodes", "type": "library", "description": "This library handles various UK postcode related tasks such as address lookup by postcode, postcode validation, generation of valid UK postcodes and getting a postcode's outward and inward codes.", "keywords": ["postcodes", "PHP", "PHP library", "PHP postcodes library", "PHP postcodes"], - "homepage": "https://github.com/rapidwebltd/php-postcodes", + "homepage": "https://github.com/divineomega/php-postcodes", "license": "LGPL-3.0-only", "require": { "php": ">=5.5.9", @@ -13,11 +13,11 @@ "require-dev": { "phpunit/phpunit": "^5.7", "fzaninotto/faker": "^1.6", - "satooshi/php-coveralls": "^2.0" + "php-coveralls/php-coveralls": "^2.0" }, "autoload": { "psr-4": { - "RapidWeb\\Postcodes\\": "src/" + "DivineOmega\\Postcodes\\": "src/" } } } diff --git a/src/Exceptions/InvalidPostcodeException.php b/src/Exceptions/InvalidPostcodeException.php index 00cfb4b..f54bf87 100644 --- a/src/Exceptions/InvalidPostcodeException.php +++ b/src/Exceptions/InvalidPostcodeException.php @@ -1,6 +1,6 @@