PHPackages                             urvin/gokaru-php-client - 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. [Image &amp; Media](/categories/media)
4. /
5. urvin/gokaru-php-client

ActiveLibrary[Image &amp; Media](/categories/media)

urvin/gokaru-php-client
=======================

A Gokaru storage &amp; thumbnail server PHP client

1.0.3(4y ago)01.9kMITPHPPHP ^7.4 || ^8.0

Since Nov 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Urvin/gokaru-php-client)[ Packagist](https://packagist.org/packages/urvin/gokaru-php-client)[ RSS](/packages/urvin-gokaru-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Gokaru php client
=================

[](#gokaru-php-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3e57d45a06d554029f73d885d53cb2aa1aaa707f0ad116c0a6cbec8361baa53a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d312e302e332d79656c6c6f772e737667)](https://packagist.org/packages/urvin/gokaru-php-client)[![Total Downloads](https://camo.githubusercontent.com/a302d233e06e1f62aa7683f42439110481b88bba15e3d5995b1f742422128c22/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f757276696e2f676f6b6172752d7068702d636c69656e742e737667)](https://packagist.org/packages/urvin/phikaru)[![Coverage Status](https://camo.githubusercontent.com/79ce495fcc5afa77d55573e5b0b5f26956d3d22c24c616f06556ff4271e141e1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f557276696e2f676f6b6172752d7068702d636c69656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Urvin/gokaru-php-client/?branch=master)[![Quality Score](https://camo.githubusercontent.com/1966ae07bfc550224808a85c81bcea519de8296321aa3550fe9ab1dfca2c27b5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f557276696e2f676f6b6172752d7068702d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Urvin/gokaru-php-client/?branch=master)

PHP API client for [Gokaru](https://github.com/Urvin/gokaru) storage &amp; image thumbnail server.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4

Usage
-----

[](#usage)

```
// According to your Gokaru configuration, create a MurMur or Md5 signature generator
$generator = new \Urvin\Gokaru\Signature\MurMurGenerator('gokaru_secret_passphrase');

// Create a client instance with gokaru secured url
$gokaru = new \Urvin\Gokaru\Client('http://localhost:8101/', $generator);

// Upload your first image
$gokaru->upload(
    '~/my_first_image.png',
    \Urvin\Gokaru\SourceType::SOURCE_TYPE_IMAGE,
    'tryout',          // choose any category you want
    'first_image'      // choose any file code you want
);

// Or a file
$gokaru->upload(
    '~/my_secret_data.pdf',
    \Urvin\Gokaru\SourceType::SOURCE_TYPE_FILE,
    'x-files',
    'secret_data.pdf'
);

// You can specify different public urls for different file types
$gokaru->setUrlPublic(
    \Urvin\Gokaru\SourceType::SOURCE_TYPE_IMAGE,
    'https://site.com/pictures'
);
$gokaru->setUrlPublic(
    \Urvin\Gokaru\SourceType::SOURCE_TYPE_FILE,
    'https://site.com/documents'
);

// Create a thumbnail url for your image
$builder = $gokaru->thumbnail()
    ->width(200)
    ->height(200)
    ->cast(\Urvin\Gokaru\Cast::RESIZE_PRECISE)
    ->cast(\Urvin\Gokaru\Cast::TRIM)
    ->cast(\Urvin\Gokaru\Cast::EXTENT)
    ->category('tryout')
    ->filename('first_image')
    ->extension('jpg');
$url = (string)$builder;

// When a moment comes, delete source and all thumbnails from server
$gokaru->delete(
    \Urvin\Gokaru\SourceType::SOURCE_TYPE_IMAGE,
    'tryout',
    'first_image'
);
```

Author
------

[](#author)

Yuriy Gorbachev

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

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

Every ~0 days

Total

4

Last Release

1651d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7dc0d26e0baf0a9262f112baf2586c9d5603947c8a4f57ca871f4361802a20c6?d=identicon)[Urvin](/maintainers/Urvin)

---

Top Contributors

[![Urvin](https://avatars.githubusercontent.com/u/2264798?v=4)](https://github.com/Urvin "Urvin (8 commits)")

---

Tags

thumbnailgokaru

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/urvin-gokaru-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/urvin-gokaru-php-client/health.svg)](https://phpackages.com/packages/urvin-gokaru-php-client)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[sybio/image-workshop

Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)

860918.1k11](/packages/sybio-image-workshop)[h4cc/wkhtmltoimage-amd64

Convert html to image using webkit (qtwebkit). Static linked linux binary for amd64 systems.

20110.7M15](/packages/h4cc-wkhtmltoimage-amd64)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[folklore/image

Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa for easy url based manipulation

270248.2k5](/packages/folklore-image)[james-heinrich/phpthumb

The PHP thumbnail generator

318516.1k6](/packages/james-heinrich-phpthumb)

PHPackages © 2026

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