PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

v3.2.1 2021-07-21 13:43 UTC


Build Status Coverage Status Scrutinizer Code Quality

php-opencloud/openstack is an SDK which allows PHP developers to easily connect to OpenStack APIs in a simple and idiomatic way. This binding is specifically designed for OpenStack APIs, but other provider SDKs are available. Multiple OpenStack services, and versions of services, are supported.


We need your help 😃

We invest a large amount of work to ensure this SDK works with many OpenStack distributions via running end-to-end integration tests with a real cluster.

If you or your organization are in a position that can help us access popular distributions as listed below, do reach out by open an issue in github.

OpenStack RDO
MicroStack Openstack
Sponsored by
Red Hat OpenStack Need sponsor!
OVH OpenStack Need sponsor!
SUSE OpenStack Need sponsor!
RackSpace OpenStack Need sponsor!

Join the community

Version Guidance

Version Status PHP Version Support until
^3.2 Latest >=7.2.5, >=8.0 Current
^3.1 Latest >=7.2.5 Current
^3.0 Bug fixed only >=7.0 Oct 2020
^2.0 End of life >=7.0,<7.2 March 2018

Upgrade from 2.x to 3.x

Due to new object typehint since PHP 7.2, Object is a reserved keyword thus class OpenStack\ObjectStore\v1\Models\Object had to be renamed to OpenStack\ObjectStore\v1\Models\StorageObject.

This change was introduced in #184.


  • PHP 7.0
  • ext-curl

How to install

composer require php-opencloud/openstack


Engaging the community and lowering barriers for contributors is something we care a lot about. For this reason, we've taken the time to write a contributing guide for folks interested in getting involved in our project. If you're not sure how you can get involved, feel free to submit an issue or contact us. You don't need to be a PHP expert - all members of the community are welcome!