PHPackages                             pixst/pixst - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. pixst/pixst

ActiveLibrary[API Development](/categories/api)

pixst/pixst
===========

PHP implementation of Pix Street API

v1.0.0(10y ago)015MITPHPPHP &gt;=5.4.0

Since Nov 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/PixSt/php-native)[ Packagist](https://packagist.org/packages/pixst/pixst)[ Docs](https://pix.st/)[ RSS](/packages/pixst-pixst/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Pix Street API native PHP library
=================================

[](#pix-street-api-native-php-library)

This is the native PHP implementation of Pix Street API. [Pix Street](https://pix.st) is a cloud-based image hosting with advanced features.

Installation
------------

[](#installation)

The preferred way to install the library is through [composer](http://getcomposer.org/download/).

Run

```
composer.phar require pixst/pixst

```

or add

```
"pixst/pixst": "~1.0.0",
```

to the require section of composer.json.

Usage
-----

[](#usage)

Create album and store images

```
use pixst\ClientJson;

// Pix Street API ID
$apiID = 'example@domain.com';

// Pix Street API key
$apiKey = 'abcdef0123456789';

// Create API client
$pix = new ClientRest($apiID, $apiKey);

// Create public image with ID "testImage-1" from remote URL "https://cdn.pix.st/a.jpg"
// and put it in album "Test album"
$pix->imageCreate()
    ->setId('testImage-1')
    ->setSourceUrl('https://cdn.pix.st/a.jpg'])
    ->setPublic(true)
    ->execute();

// Create public image with ID "testImage-2" from local file, rotate clockwise by 90°,
// resize to 640 x 480 and create short URL for it
$pix->imageCreate()
    ->setId('testImage-2')
    ->setSourceFile('local-image-file.jpg')
    ->setPublic(true)
    ->setShorthen(true)
    ->setTags(['test', 'image'])
    ->setRotate(90, true)
    ->setResize(640, 480)
    ->setJpegQuality(98)
    ->execute();
```

Download image

```
use pixst\ClientJson;

// Pix Street API ID
$apiID = 'example@domain.com';

// Pix Street API key
$apiKey = 'abcdef0123456789';

// Create API client
$pix = new ClientRest($apiID, $apiKey);

// Download image
$binary = $pix->imageDownload()->setId('testImage-1')->execute();
file_put_contents('test-image.jpg', $binary);
```

Delete image

```
use pixst\ClientJson;

// Pix Street API ID
$apiID = 'example@domain.com';

// Pix Street API key
$apiKey = 'abcdef0123456789';

// Create API client
$pix = new ClientRest($apiID, $apiKey);

// Delete image
$pix->imageDelete()
    ->setId('testImage-1')
    ->execute();
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3896d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/771691691e18bd57de80dadd4016324270b437cfab0952b14553093c96bb017a?d=identicon)[PixSt](/maintainers/PixSt)

---

Top Contributors

[![PixSt](https://avatars.githubusercontent.com/u/15078390?v=4)](https://github.com/PixSt "PixSt (1 commits)")

### Embed Badge

![Health badge](/badges/pixst-pixst/health.svg)

```
[![Health](https://phpackages.com/badges/pixst-pixst/health.svg)](https://phpackages.com/packages/pixst-pixst)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
