php-openclouds library for PHP

php-openclouds is an openstack client library for PHP. The CloudVPS Object Store can be accessed using its OpenStack driver as follows:

require_once "vendor/autoload.php";

// establish our credentials
$connection = new \OpenCloud\OpenStack(
    array('username' => "your username",
          'password' => "your password",
          'tenantName' => "your project id")

// create an ObjectStore connection.
$ostore = $connection->objectStoreService("swift", "NL", "publicURL");

// next, make a container named DEMO

// now, list containers to show the container was actually created.
foreach( $ostore->listContainers() as $container ) {
    echo $container->name, "\n";


General FAQ

Show all FAQs

OpenStack FAQ

Show all FAQs


Show all FAQs