Skip to content

A simple php client for CaramelFur/Picsur image service

License

Notifications You must be signed in to change notification settings

crosa7/picsur-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Languages