diff --git a/README.md b/README.md index 19afa51..265baa4 100644 --- a/README.md +++ b/README.md @@ -67,15 +67,15 @@ Once you have [Configured](#configuration), client can be initialised by passing $config = [ 'key' => "123456789012345678901234", ]; -$client = new Craftsys\MSG91\Client($config); +$client = new Craftsys\MSG91Client\Client($config); ``` -The package in distributed under `Craftsys\MSG91` namespace which can used if your are working in a namespace environment. +The package in distributed under `Craftsys\MSG91Client` namespace which can used if your are working in a namespace environment. ```php setConfig($config); ``` @@ -105,7 +105,7 @@ $client->setConfig($config); You can also pass a custom `GuzzleHttp\Client` as the second argument on the Client's constructor. ```php -$client = new Craftsys\MSG91\Client($config, new GuzzleHttp\Client()); +$client = new Craftsys\MSG91Client\Client($config, new GuzzleHttp\Client()); ``` ### Managing OTPs diff --git a/composer.json b/composer.json index 870af3d..e813336 100644 --- a/composer.json +++ b/composer.json @@ -41,12 +41,12 @@ "minimum-stability": "dev", "autoload": { "psr-4": { - "Craftsys\\MSG91\\": "src/" + "Craftsys\\MSG91Client\\": "src/" } }, "autoload-dev": { "psr-4": { - "Craftsys\\MSG91\\Test\\": "tests/" + "Craftsys\\MSG91Client\\Test\\": "tests/" } }, "scripts": { diff --git a/src/BaseMessage.php b/src/BaseMessage.php index 36c1522..99355e3 100644 --- a/src/BaseMessage.php +++ b/src/BaseMessage.php @@ -1,10 +1,10 @@