PHPackages                             urvin/phikaru - 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/phikaru

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

urvin/phikaru
=============

PHP Hikaru image thumbnail server methods binding

027PHPCI failing

Since Aug 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Urvin/phikaru)[ Packagist](https://packagist.org/packages/urvin/phikaru)[ RSS](/packages/urvin-phikaru/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Phikaru
=======

[](#phikaru)

[![Latest Version on Packagist](https://camo.githubusercontent.com/28a333a84037d0363998f82dc0c2448fcbd55998cdd34414d3805b6ec9623691/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d6465762d79656c6c6f772e737667)](https://packagist.org/packages/urvin/phikaru)[![Software License](https://camo.githubusercontent.com/a15596ce185e40d1667f937c7ee50b1bfa05493ce684ae7aabbd2316c01cf59b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f757276696e2f7068696b6172752e737667)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/ef802a5a30040430f872a209d3936178d173c2cd2836f8493cb450d30b2ab581/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f757276696e2f7068696b6172752e737667)](https://packagist.org/packages/urvin/phikaru)

[![Build Status](https://camo.githubusercontent.com/0c0325fb68bb8198afdf22628d831c3a0a63a4defbf3e53d5384dab0526f840b/68747470733a2f2f7472617669732d63692e6f72672f557276696e2f7068696b6172752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Urvin/phikaru)[![Coverage Status](https://camo.githubusercontent.com/d796ed17a0ffb7c9acd82986de9c8c2da22cdf58f6eac8d2be4b20525e0393e5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f557276696e2f7068696b6172752f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Urvin/phikaru/?branch=master)[![Quality Score](https://camo.githubusercontent.com/617f665e1af802637cde6a2e04a55be59adaa2d390f7e178487cfd2c50608729/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f757276696e2f7068696b6172752e737667)](https://scrutinizer-ci.com/g/urvin/phikaru)

PHP Hikaru image thumbnail server methods binding. Allows to operate with [Hikaru](https://github.com/Urvin/hikaru) image thumbnail server

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

[](#requirements)

- PHP &gt;= 7.1

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

[](#installation)

```
composer require urvin/phikaru
```

Usage
-----

[](#usage)

```
// Create a phikaru object, define Hikaru URL and secret signature salt
$phikaru = new \urvin\phikaru\Phikaru('http://hikaru.local', 'not_safe');

// Upload image
$phikaru->upload('three_cows_walking_on_a_road', '/path/to/cows.jpg');

// Create a thumbnail URL as you want
echo $phikaru->thumbnail()
    ->filename('three_cows_walking_on_a_road')
    ->extension('webp')
    ->width(600)
    ->height(600)
    ->cast(\urvin\phikaru\UrlBuilder::CAST_RESIZE_INVERSE)
    ->cast(\urvin\phikaru\UrlBuilder::CAST_TRIM)
    ->cast(\urvin\phikaru\UrlBuilder::CAST_EXTENT);

// When a moment comes, delete source and all thumbnails from server
$phikaru->remove('three_cows_walking_on_a_road');
```

Author
------

[](#author)

Yuriy Gorbachev

License
-------

[](#license)

This module is licensed under the MIT license; see [`LICENSE`](https://github.com/Urvin/phikaru/blob/master/LICENSE)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### 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 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

12644.1k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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