PHPackages                             hpcloud/hpcloud-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. hpcloud/hpcloud-php

ActiveLibrary[API Development](/categories/api)

hpcloud/hpcloud-php
===================

Access HPCloud and OpenStack services in PHP.

1.3.0(11y ago)2395010[6 issues](https://github.com/hpcloud/HPCloud-PHP/issues)MITPHPPHP &gt;=5.3.0CI failing

Since Mar 15Pushed 10y ago15 watchersCompare

[ Source](https://github.com/hpcloud/HPCloud-PHP)[ Packagist](https://packagist.org/packages/hpcloud/hpcloud-php)[ Docs](http://hpcloud.com)[ RSS](/packages/hpcloud-hpcloud-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (14)Used By (0)

HPCloud-PHP
===========

[](#hpcloud-php)

This package provides PHP OpenStack bindings for HP Helion OpenStack and the HP Helion Public Cloud.

You can use this library to:

- Authenticate your application.
- Interact with Object Storage (aka Swift).
- Interact with CDN service (Content Delivery Network) in the public cloud.

Previously this library could be used to interact with our relational database (DBaaS and MySQL compatible). The relational database API has changed and the bindings do not currently support this feature.

Requirements
------------

[](#requirements)

- PHP 5.3+ (currently tested against 5.3, 5.4, 5.5)
- An active HP Helion Public Cloud account with the desired services or HP Helion OpenStack. Please note that the services you wish to use (e.g. Object Storage) must be activated on your account. Services may be activated through your account's Horizon user interface (aka HP Helion Public Cloud Console). The Public Cloud Console can be accessed at ().

### Suggestions

[](#suggestions)

- Enable the cURL extension for full protocol support.

We also have support for using PHP's native HTTP stream wrapper, but it is not as reliable. We recommend cURL.

Versioning
----------

[](#versioning)

We have a goal to be as consistent as possible with [Semantic Versioning](http://semver.org/). For released HP Cloud services this is what you can expect. For products in beta expect the included components to be in beta.

Installation
------------

[](#installation)

There are currently two methods of installation. We've been considering PEAR and Phar releases, but have currently limited to only Composer and builds because these cover our needs.

#### Method #1:

[](#method-1)

Use [Composer](http://getcomposer.org) to download and install the latest version of HPCloud-PHP.

#### Method #2:

[](#method-2)

Download a tagged release and include it in your project.

Features
--------

[](#features)

#### Identity Services

[](#identity-services)

Authenticate, authorize service usage, and retrieve account information.

#### Object Storage

[](#object-storage)

Store files or other data objects in containers on your object storage instance. Create, modify and delete containers. Manage ACLs. Read, write, and delete objects. Expose objects in your object storage to other services.

With full stream wrapper support, you can use built-in PHP functions like `file_get_contents()`, `fopen()`, and `stat()` for reading and writing files into object storage.

#### CDN

[](#cdn)

With CDN service enabled (available in the public cloud), objects in Object Storage can be pushed onto the HP Helion Public Cloud edge server network.

With this library, manage CDN integration for object storage containers, and manage individual objects. The library allows you to fetch cached objects either from object storage or from the CDN cache.

#### Autoloading

[](#autoloading)

HPCloud is [PSR-0 compliant](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md), which means that it should work with any PSR-0 autoloader. However, it also comes with its own autoloader for apps that don't yet make use of a standard autoloader.

#### Composer Support

[](#composer-support)

HPCloud-PHP is available as part of the Packagist archive, which means you can use Composer to automatically download, install, and manage revisions to HPCloud-PHP from within your project.

We're big fans of [Composer](http://getcomposer.org).

More information
----------------

[](#more-information)

[HP Cloud](http://hpcloud.com) is a cloud computing platform that provides many services, inlcuding compute installs, object and block storage, and a host of hosted services.

This library provides access to those services.

The best source of documentation is the official API documentation, which is available at

---

HPCloud-PHP is maintained by the Developer Experience team at HP Cloud.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 82.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~86 days

Recently: every ~201 days

Total

12

Last Release

4226d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cf49dfa830249da19113949c7d32ee7f526d9855393149f196eb0da2b304055?d=identicon)[technosophos](/maintainers/technosophos)

![](https://www.gravatar.com/avatar/e009e68aaa3f72eb836b24c016afc08d8e7da904d10b65ba2982c9bcc6c02c19?d=identicon)[mattfarina](/maintainers/mattfarina)

---

Top Contributors

[![technosophos](https://avatars.githubusercontent.com/u/89193?v=4)](https://github.com/technosophos "technosophos (328 commits)")[![mattfarina](https://avatars.githubusercontent.com/u/62991?v=4)](https://github.com/mattfarina "mattfarina (67 commits)")[![gimballock](https://avatars.githubusercontent.com/u/4082456?v=4)](https://github.com/gimballock "gimballock (1 commits)")[![ktomk](https://avatars.githubusercontent.com/u/352517?v=4)](https://github.com/ktomk "ktomk (1 commits)")[![meeuw](https://avatars.githubusercontent.com/u/773800?v=4)](https://github.com/meeuw "meeuw (1 commits)")[![samfchoi](https://avatars.githubusercontent.com/u/6745850?v=4)](https://github.com/samfchoi "samfchoi (1 commits)")

---

Tags

cloudOpenstackswiftnovahpcloud

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hpcloud-hpcloud-php/health.svg)

```
[![Health](https://phpackages.com/badges/hpcloud-hpcloud-php/health.svg)](https://phpackages.com/packages/hpcloud-hpcloud-php)
```

###  Alternatives

[rackspace/php-opencloud

PHP SDK for Rackspace/OpenStack APIs

4495.9M38](/packages/rackspace-php-opencloud)[alibabacloud/client

Alibaba Cloud Client for PHP - Use Alibaba Cloud in your PHP project

2223.5M367](/packages/alibabacloud-client)[php-opencloud/openstack

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

2292.2M24](/packages/php-opencloud-openstack)[adobe-marketing-cloud/marketing-cloud-php-sdk

An Object Oriented wrapper for the Adobe Marketing Cloud APIs

37268.6k1](/packages/adobe-marketing-cloud-marketing-cloud-php-sdk)[jordikroon/google-vision

Google Vision Api for PHP (https://cloud.google.com/vision/)

6374.9k1](/packages/jordikroon-google-vision)[opencoconut/coconut

Coconut is a Cloud Video Encoding Service built for developers

17482.5k2](/packages/opencoconut-coconut)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
