stable-cz / cdn-client
Basic PHP CDN Client for Stable.cz customers
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/stable-cz/cdn-client
Requires
- php: >=7.1
This package is auto-updated.
Last update: 2025-12-06 02:07:04 UTC
README
Stable CDN Client
- Class documentation: http://cdn.stable.cz/docs/cdn-client/html/classes/Stable_Cdn_Client.html
- Basic examples:
php example/example-short.php YOUR_API_KEY - Another basic examples:
php example/example.php YOUR_API_KEY
Basic usage examples:
// construct $client = new \Stable\Cdn\Client(YOUR_API_KEY); // create some local file file_put_contents('localfile', date('Y-m-d')); // upload file $client->upload('localfile', 'path/to/remotefile'); // verify file exists $client->ls('path/to/remotefile'); // list files in directory $client->ls('path/to'); // delete remote file $client->delete('path/to/remotefile');