PHPackages                             picsmize/picsmize-codeigniter - 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. picsmize/picsmize-codeigniter

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

picsmize/picsmize-codeigniter
=============================

Picsmize - Image Optimizer

v1.0(3y ago)081mitPHPPHP &gt;=5.3.0

Since Jul 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/picsmize/picsmize-codeigniter)[ Packagist](https://packagist.org/packages/picsmize/picsmize-codeigniter)[ RSS](/packages/picsmize-picsmize-codeigniter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

### Quick Installation

[](#quick-installation)

To install the Picsmize library, Here is how you can install using command line,

```
$ composer require picsmize/picsmize-codeigniter
```

### Configuration

[](#configuration)

Move the Picsmize library to the Libraries folder of the project `/application/third_party` : To load the Picsmize library into your project, open `/application/config/config.php` and find this line

```
$config['composer_autoload'] = FALSE;
```

Replace it with this line

```
$config['composer_autoload'] = APPPATH . 'third_party/vendor/autoload.php';
```

initialize the library in your project controller file.

```
$picsmize = new Picsmize();
```

The last step is to provide your Picsmize API key. Set up after loading the library.

```
$picsmize->setApiKey('your-api-key');
```

If you don't have your API Key just yet, you can [Sign Up](https://picsmize.com/register) for a free account. And That's it! Start optimizing..!

### Quick Example

[](#quick-example)

This Picsmize CodeIgniter library allows all the operations available with the Picsmize API. The following example uses image `fetch`, `compress`, `resize` and `filter` with different mode and get the output file directly with `toJSON()` method:

```
$picsmize = new Picsmize();
$picsmize->setApiKey('your-api-key');

/**
* Use of fetch() method
*/

$picsmize-fetch('https://www.website.com/image.jpg')

/**
* Use of compress() method with medium mode
*/

->compress(Picsmize::COMPRESS_LOW)

/**
* Use of resize() method with auto mode
* and width set to 400
*/

->resize(Picsmize::RESIZE_AUTO, array(
	'width' => 400
))

/**
* Use of filter() blur method with gaussian mode
* and value set to 10
*/

->filter(Picsmize::FILTER_BLUR, array(
	'mode' => 'gaussian',
	'value' => 10
))

/**
* Call toJSON() on the final step and return the JSON response
*/

->toJSON(function ($response) {
	/**
	* You'll find the full JSON metadata array within the `$response` variable.
	* Remember to always check if the `status` property is set to `true`.
	*/

	if ($response['status'] == false) {
		throw new Exception($response['message']);
	}

	print_r($response);
});
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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

Unknown

Total

1

Last Release

1399d ago

### Community

Maintainers

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

---

Top Contributors

[![jaronsmith2006](https://avatars.githubusercontent.com/u/2031699?v=4)](https://github.com/jaronsmith2006 "jaronsmith2006 (5 commits)")[![picsmize](https://avatars.githubusercontent.com/u/109585947?v=4)](https://github.com/picsmize "picsmize (1 commits)")

### Embed Badge

![Health badge](/badges/picsmize-picsmize-codeigniter/health.svg)

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

###  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)
