Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use? #4

Open
hmawla opened this issue May 24, 2024 · 4 comments
Open

How to use? #4

hmawla opened this issue May 24, 2024 · 4 comments
Labels
question Further information is requested

Comments

@hmawla
Copy link

hmawla commented May 24, 2024

How to use this package? There are only installation instructions!

@hmawla hmawla added the question Further information is requested label May 24, 2024
@ManicardiFrancesco
Copy link

I've rapidly looked at the code and this doesn't seem to be usable as a mail driver in laravel, it's just a bunch of config files and basically is saving you the boilerplate code for .env and config and service provider

@spyesx
Copy link

spyesx commented Jun 12, 2024

Agree, this project would deserve a little bit more documentation.
A wrapper is cool but how to use it would be good.

@hmawla
Copy link
Author

hmawla commented Jun 12, 2024

Exactly yes, I never figured out how to use it, so I returned to the original library.

@spyesx
Copy link

spyesx commented Jun 12, 2024

I could use it but as @ManicardiFrancesco said, this is just a boilerplate for configuration.

Example:

$brevo = new \Brevo\Client\Api\AccountApi(
    new \GuzzleHttp\Client(),
    app('brevo')->getConfiguration()
);

$result = $brevo->getAccount();
var_dump($result);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants