Download the PHP package bk203/rgw-admin-client without Composer
On this page you can find all versions of the php package bk203/rgw-admin-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bk203/rgw-admin-client
More information about bk203/rgw-admin-client
Files in bk203/rgw-admin-client
Package rgw-admin-client
Short Description PHP client for the rados gateway admin operations api.
License MIT
Informations about the package rgw-admin-client
Rados Gateway API Client
PHP client for the Rados Gateway admin operations api.
Requirements
- Minimum PHP 8.0
Installation
What type of installation should I choose?
It's very simple, choose for an express installation if your application already contains an HTTP library such as GuzzleHTTP, otherwise just perform an quick installation.
Quick installation
For a quick installation we recommend you to install the php-http/curl-client
package. This package is
a small abstraction around native php curl api.
After that you are ready to install this package:
Usage
Client configuration
Before you can use the api client you need to provide the apiUrl
, apiKey
and secretKey
. You need to provided
them when creating an instance of the client class.
Create and execute a request
There are two ways to interact with the rados api via this package, you can manually create the request and send them afterwards. See the code below for an example.
You can also use the preferred short syntax.
See the api docs for more information about the available api resources.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of rgw-admin-client with dependencies
php-http/message Version ^1.11
php-http/discovery Version ^1.13
php-http/client-common Version ^2.3