diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4c21c83 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +CHANGELOG +========= + +# v0.10.0 + +* Add vendor prefix `Richardhj\` to namespaces diff --git a/README.md b/README.md index 8aed800..1d86bd5 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ But instead of the `GenericProvider` you're going to use this provider. This is how to initiate the provider: ```php -$provider = new EPost\OAuth2\Client\Provider\EPost( +$provider = new Richardhj\EPost\OAuth2\Client\Provider\EPost( [ 'clientId' => sprintf('%s,%s', EPOST_DEV_ID, EPOST_APP_ID), 'redirectUri' => 'http://localhost:8080/oauth2_redirect.php', // Only necessary for the Authorization Code Grant flow diff --git a/composer.json b/composer.json index c0a7f97..44a098b 100644 --- a/composer.json +++ b/composer.json @@ -14,11 +14,11 @@ }, "require": { "php": "^5.4 || ^7.0", - "league/oauth2-client": "~1.4" + "league/oauth2-client": "^1.4 || ^2.0" }, "autoload": { "psr-4": { - "EPost\\OAuth2\\Client\\": "src/" + "Richardhj\\EPost\\OAuth2\\Client\\": "src/" } } } diff --git a/src/Provider/EPost.php b/src/Provider/EPost.php index f89a011..5d3d664 100644 --- a/src/Provider/EPost.php +++ b/src/Provider/EPost.php @@ -1,14 +1,17 @@ + * @package richardhj/oauth2-epost + * @author Richard Henkenjohann + * @copyright 2015-2017 Richard Henkenjohann + * @license https://github.com/richardhj/oauth2-epost/blob/master/LICENSE LGPL-3.0 */ -namespace EPost\OAuth2\Client\Provider; +namespace Richardhj\EPost\OAuth2\Client\Provider; use League\OAuth2\Client\Provider\AbstractProvider; use League\OAuth2\Client\Provider\Exception\IdentityProviderException; @@ -19,7 +22,7 @@ /** * Class EPost - * @package EPost\OAuth2\Client\Provider + * @package Richardhj\EPost\OAuth2\Client\Provider */ class EPost extends AbstractProvider {