crosa7/picsur-php-client

Picsur client for php

v1.0.0 2023-07-14 10:42 UTC

This package is auto-updated.

Last update: 2025-03-17 12:39:34 UTC


README

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']);