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 today

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 57% 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

1697d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2264798?v=4)[Yuriy Gorbachev](/maintainers/Urvin)[@Urvin](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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