baidubsdk / bce-sdk-php
This package is abandoned and no longer maintained.
No replacement package was suggested.
BCE SDK for PHP
dev-master / 0.8.22.x-dev
2022-12-12 16:41 UTC
Requires
- php: >=7.3
- guzzlehttp/guzzle: ^7.4
- psr/log: ^1.0.1 || ^2.0 || ^3.0
Requires (Dev)
- monolog/monolog: ^2.0
Suggests
- monolog/monolog: Adds support for logging HTTP requests and responses
This package is auto-updated.
Last update: 2022-12-12 16:43:04 UTC
README
Original respository : https://github.com/baidubce/bce-sdk-php
Change logs
- [2022-05-09] Replaced the
Guzzle/guzzle
withGuzzleHttp/guzzle
to support php 7.x. - [2022-05-10] Support external logger. Example for Laravel:
\BaiduBce\Log\LogFactory::setInstance(new class(99) implements \BaiduBce\Log\LogFactoryInterface {
public function getLogger($name) {
return Log::channel('chain-baidu');
}
}
);
\BaiduBce\Log\LogFactory::setLogLevel(\Psr\Log\LogLevel::INFO);