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

Support for guzzle v7 #14

Open
AndriiHrynchuk opened this issue Dec 14, 2020 · 3 comments
Open

Support for guzzle v7 #14

AndriiHrynchuk opened this issue Dec 14, 2020 · 3 comments

Comments

@AndriiHrynchuk
Copy link

Hi, I'm going to use your package with latest Laravel v8.
Your package is missing support of "guzzlehttp/guzzle": "^7.0.1". Are you going to upgrade your package to add support of guzzle v7?

@livingos
Copy link

Or you could just use Laravel's own HTTP client:

$data = [
            '$sales' => $salesTotal,
];
 $response = Http::withHeaders(
            [
                'Accept' => 'application/vnd.databox.v2+json',
                'Content-Type' => 'application/json'
            ]
        )->withBasicAuth(config('services.databox.token'), '')
            ->post(
                'https://push.databox.com',
                [
                    'data' => [$data],
                ]
            );

@ThomasRitter75
Copy link

As a general update: On Laravel 9, installing databox/databox fails because of the outdated guzzle version. Is this project dead?

@MLDMoritz
Copy link

@VladaPetrovic

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

No branches or pull requests

4 participants