PHPackages                             barnebys/bimp-php - 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. barnebys/bimp-php

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

barnebys/bimp-php
=================

Barnebys Image Processor PHP Client

0.0.6(7y ago)0494MITPHP

Since Sep 5Pushed 7y agoCompare

[ Source](https://github.com/barnebys/bimp-php)[ Packagist](https://packagist.org/packages/barnebys/bimp-php)[ RSS](/packages/barnebys-bimp-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/9d917d72d9eb7980c273c989b895e7f8b6f70c63aca59319972223ba4bf89b28/68747470733a2f2f706f7365722e707567782e6f72672f6261726e656279732f62696d702d7068702f762f737461626c65)](https://packagist.org/packages/barnebys/bimp-php)[![Build Status](https://camo.githubusercontent.com/9ff12be0ce94abdda3dd2e03f1315ae261dd271543d664a23050a75b8e82951f/68747470733a2f2f7472617669732d63692e6f72672f6261726e656279732f62696d702d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/barnebys/bimp-php)[![Coverage Status](https://camo.githubusercontent.com/039c4f5085226c512ed3ae69ede6ed449ad62b665829e39858dbddca68250653/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6261726e656279732f62696d702d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/barnebys/https://travis-ci.org/barnebys/bimp-php?branch=master)

Barnebys Image Processor
========================

[](#barnebys-image-processor)

This is an helper for PHP to build image URL for [Barnebys Image Processor](https://github.com/barnebys/bimp) with ease.

Resize image
------------

[](#resize-image)

```
// Create the URL Builder with your bimp domain & secret
$urlBuilder = new UrlBuilder('bimp.yourdomain.com', 'test');
$urlBuilder->setWidth(200);

// Get the signed image URL
$url = $urlBuilder->createURL();

```

Crop image
----------

[](#crop-image)

```
$urlBuilder = new UrlBuilder('bimp.yourdomain.com', 'test');
$urlBuilder->setSize(200,200);

```

Crop image and set gravity
--------------------------

[](#crop-image-and-set-gravity)

```
$urlBuilder = new UrlBuilder('bimp.yourdomain.com', 'test');
$urlBuilder
    ->setSize(200,200)
    ->setCrop('north');

```

See [Barnebys Image Processor](https://github.com/barnebys/bimp) for documentation for available crop gravities &amp; strategies.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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 ~5 days

Total

6

Last Release

2782d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26894649?v=4)[Barnebys Group AB](/maintainers/barnebys)[@barnebys](https://github.com/barnebys)

---

Top Contributors

[![baboons](https://avatars.githubusercontent.com/u/3737821?v=4)](https://github.com/baboons "baboons (9 commits)")

---

Tags

imageauctionsbarnebys

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/barnebys-bimp-php/health.svg)

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

###  Alternatives

[intervention/image

PHP Image Processing

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

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k51.2M116](/packages/league-glide)[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M217](/packages/liip-imagine-bundle)[spatie/image

Manipulate images with an expressive API

1.4k54.4M138](/packages/spatie-image)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[intervention/gif

PHP GIF Encoder/Decoder

5520.3M9](/packages/intervention-gif)

PHPackages © 2026

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