Download the PHP package toin0u/digitalocean-v2 without Composer
On this page you can find all versions of the php package toin0u/digitalocean-v2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download toin0u/digitalocean-v2
More information about toin0u/digitalocean-v2
Files in toin0u/digitalocean-v2
Package digitalocean-v2
Short Description DigitalOcean API v2 client for PHP
License MIT
Informations about the package digitalocean-v2
DigitalOcean PHP API Client
We present a modern DigitalOcean API v2 client for PHP.
Check out the contribution guidelines.
Installation
This version supports PHP 7.4-8.3. To get started, simply require the project using Composer. You will also need to install packages that "provide" psr/http-client-implementation
and psr/http-factory-implementation
.
Standard Installation
Framework Integration
Laravel:
We are decoupled from any HTTP messaging client by using PSR-7, PSR-17, PSR-18, and HTTPlug. You can visit HTTPlug for library users to get more information about installing HTTPlug related packages. The framework integration graham-campbell/gitlab is by Graham Campbell and dunglas/digital-ocean-bundle is by Kévin Dunglas.
Upgrading
If you are upgrading from version 2.3 to 3.0, or from 3.2 to 4.0, you can check out our upgrading guide. We highly recommend upgrading as soon as possible.
Examples
As of version 3.0, we will will automatically discover an HTTP client to use, from what you have available. Simply create a new DigitalOcean client, provide your access token, then you're good to go:
Version 3.0 also has a built-in paginator, and can be used on any of the APIs which return collections. By default, the pager will internally attempt to fetch 100 entries in each request, however this can be configured by passing a 2nd parameter to the constructor. We have included an example below which will fetch all droplets:
Account
Action
App
Database
CDN Endpoint
Domain
Domain Record
Droplet
Firewall
Image
Key
Load Balancer
Monitoring
Project Resources
Region
Size
Tag
Volume
VPC
Contributing
We will gladly receive issue reports and review and accept pull requests, in accordance with our contribution guidelines!
Security
If you discover a security vulnerability within this package, please send an email to [email protected]. All security vulnerabilities will be promptly addressed. You may view our full security policy here.
License
DigitalOcean PHP API Client is licensed under The MIT License (MIT).
All versions of digitalocean-v2 with dependencies
ext-json Version *
php-http/client-common Version ^2.7.1
php-http/discovery Version ^1.19.2
php-http/httplug Version ^2.4
psr/http-client-implementation Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.1 || ^2.0
symfony/polyfill-php80 Version ^1.26