Skip to content

Commit

Permalink
chore(readme): updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmard committed Dec 20, 2023
1 parent 8e03cc7 commit 21fffdb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Mail Router PHP Client
```php
<?php

use SpiralOver\Mailer\Client\Mailer;
use SpiralOver\Mailer\Client\Application;

require __DIR__ . '/vendor/autoload.php';

$client = Mailer::client(authToken: '<authentication-token>');
$client = Application::client(authToken: '<authentication-token>');

// List
$neurons = $client->list();
Expand Down Expand Up @@ -58,11 +58,11 @@ use GuzzleHttp\Exception\GuzzleException;
use SpiralOver\Mailer\Client\Dto\Mailbox;
use SpiralOver\Mailer\Client\Dto\MailData;
use SpiralOver\Mailer\Client\Exceptions\RequestFailureException;
use SpiralOver\Mailer\Client\Application;
use SpiralOver\Mailer\Client\Mailer;

require __DIR__ . '/vendor/autoload.php';

$client = Application::client(authToken: '<authentication-token>');
$client = Mailer::client(authToken: '<authentication-token>');
$response = $application->send(
appId: '2eb91dc3-b8ad-4d41-a207-963cec055fab',
mails: [
Expand Down

0 comments on commit 21fffdb

Please sign in to comment.