PHPackages                             simexis/thumbalizr - 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. simexis/thumbalizr

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

simexis/thumbalizr
==================

1.1(10y ago)030PHPPHP &gt;=5.4.0

Since May 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jooorooo/Thumbalizr)[ Packagist](https://packagist.org/packages/simexis/thumbalizr)[ RSS](/packages/simexis-thumbalizr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Thumbalizr
==========

[](#thumbalizr)

Thumbalizr Class for Laravel 5

Uses API from thumbalizr.com

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

[](#requirements)

- Laravel 5.X
- php 5.4+

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

[](#installation)

##### Step 1: Install package using [Composer](https://getcomposer.org)

[](#step-1-install-package-using-composer)

Add simexis/thumbalizr to "require" section of your composer.json

```
"require": {
    "simexis/thumbalizr": ">=1.0"
},
```

Add repository to "repositories" section of your composer.json

```
"repositories": [ {
	"type": "vcs",
	"url": "https://github.com/jooorooo/Thumbalizr.git"
}],
```

Then install dependencies using following command:

```
php composer.phar install
```

##### Step 2: Laravel Setup

[](#step-2-laravel-setup)

Add following line to 'providers' section of app/config/app.php file:

```
'Simexis\Thumbalizr\ThumbalizrServiceProvider',
```

Usage
-----

[](#usage)

Default configuration is:

```
$cfg = [
	'api_key'			=>	"", //put your api key here
	'service_url'		=>	"http://api.thumbalizr.com/", // don't change, if you didn't have a special service contract
	'use_local_cache'	=>	TRUE, // TRUE or FALSE for local image cache
	'local_cache_dir'	=>	public_path()."/thumbs", //relative cache directory must exists in install directory and rwx permissions to all (777)
	'local_cache_expire'=>	24*14, // local chache expiration time in hours

	'defaults' 			=> [
        'width'				=>		"400", // image width
		'delay'				=>		"10", // caputre delay useful for flash content 5 - 10 is a good value
		'encoding'			=>		"png", // jpg or png
		'quality'			=>		"90", //image quality 10-90
		'bwidth'			=>		"1280", // browser width
		'mode'				=>		"screen", // screen or page
		'bheight'			=>		"1024" // browser height only for mode=screen
   	]
];
```

#### Basic example

[](#basic-example)

```
$cfg = [
	'api_key'			=>	"..............",

	'defaults' 			=> [
        'width'				=>		"250", // image width
   	]
];
echo \Thumbalizr::getThumbSrc('http://google.com',$cfg);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

2

Last Release

4010d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b94e45e0fc8056daeec3bc285ca4befdbaf5064a57f29bd9d93a9459afab9a28?d=identicon)[jooorooo](/maintainers/jooorooo)

### Embed Badge

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

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

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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