https://github.com/linkorb/libcloud-php
PHP library for interacting with popular cloud service providers using a unified API for compute, dns, objectstorage and other resources
https://github.com/linkorb/libcloud-php
Last synced: 5 months ago
JSON representation
PHP library for interacting with popular cloud service providers using a unified API for compute, dns, objectstorage and other resources
- Host: GitHub
- URL: https://github.com/linkorb/libcloud-php
- Owner: linkorb
- License: mit
- Created: 2016-02-05T08:40:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-07T09:40:15.000Z (over 2 years ago)
- Last Synced: 2025-08-11T20:59:13.057Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 62.5 KB
- Stars: 74
- Watchers: 8
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libcloud-php
PHP library for interacting with many of the popular cloud service providers using a unified API.

## Introduction
This project aims to simplify the usage of cloud services by PHP developers. The scope of the project includes the following service types:
* **Compute**: Create, Restart, Destroy and provision compute nodes in the cloud
* **DNS**: Update DNS configurations at DNS providers
* **ObjectStorage**: store objects in the cloud
* **LoadBalancer**: Manage load balancer configurations at your IaaS provider
* **Container**: Launch containers and manage images at CaaS providers
This project is inspired by the awesome Python library [libcloud](http://libcloud.apache.org) with the same name. We try to follow the design as closely as possible. We keep method names the same as the Python project, but updating it for [PSR2](http://www.php-fig.org/psr/psr-2/) compliance.
## Using the library in your project
libcloud-php is available on [packagist](https://packagist.org/packages/linkorb/libcloud-php). To use it, add the following to your `composer.json` file, and run `composer update`:
```json
{
"require": {
"linkorb/libcloud": "~1.0"
}
}
```
## Examples
Please refer to the [example directory](example/) for example code by service type (compute, dns, etc).
## Contributing
Ready to build and improve on this repo? Excellent!
Go ahead and fork/clone this repo and we're looking forward to your pull requests!
Please take a look at the python version in order to follow this design, constants and method names as closely as possible, while updating it in the php-way.
## TODO / Next steps:
We're planning on the following features. Please feel free to send us a PR if you're interested in helping out!
* [ ] Extend the support of this library for more providers and services
* [ ] Implement ObjectStorage interfaces and adapters based on [linkorb/objectstorage](https://github.com/linkorb/objectstorage)
* [ ] Implement LoadBalancer and Container interfaces
## License
MIT. Please refer to the [license file](LICENSE) for details.
## Brought to you by the LinkORB Engineering team

Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).
Btw, we're hiring!