heyjorgedev / picsur-php-client

A simple php client for CaramelFur/Picsur image service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Picsur PHP Client

A simple php client for @CaramelFur/Picsur image service. Currently it only supports upload and delete. The other possible actions will be implemented in the future or on request.

Installation

composer require crosa7/picsur-php-client

Usage

$picsurClient = new PicsurClient('your-api-key', 'http://your-host', 1234); (port nor required)

// For upload
$picsurClient->upload('path/to/your-image');

// For delete
$picsurClient->delete(['your-image-id', 'another-image-id']);

About

A simple php client for CaramelFur/Picsur image service

License:MIT License


Languages

Language:PHP 100.0%