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

ActiveLibrary

picsmize/picsmize-laravel
=========================

Official Picsmize Facade for Laravel

v1.0(3y ago)011MITPHPPHP &gt;=5.5.0

Since Jul 20Pushed 3y ago1 watchersCompare

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

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

Picsmize - Image Optimizer Facade for Laravel 4|5|6|7|8|9
=========================================================

[](#picsmize---image-optimizer-facade-for-laravel-456789)

### Installation

[](#installation)

To install the most recent version:

```
$ composer require picsmize/picsmize-laravel
```

or add the following entry to your `composer.json`:

```
"require": {
    "picsmize/picsmize-laravel": "dev-main"
}
```

and then run `composer update`.

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. If you don't use auto-discovery, add the ServiceProvider to the providers array in `config/app.php`:

```
Picsmize\PicsmizeLaravel\PicsmizeServiceProvider::class,
```

You may also add the following aliases to your `config/app.php`:

```
'Picsmize' => Picsmize\PicsmizeLaravel\Facades\Picsmize::class,
```

### Configuration

[](#configuration)

Publish the configuration for the package which will create the config file `config/picsmize.php`:

```
php artisan vendor:publish --provider="Picsmize\PicsmizeLaravel\PicsmizeServiceProvider"
```

The last step is to provide your Picsmize API Key by either setting app variable `picsmize_apikey` in your `config/app.php` file or by directly editing the `config/picsmize.php` file.

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)

```
use Picsmize;

Picsmize::fetch('https://www.example.com/image.jpg')

->compress(Picsmize::get("COMPRESS_MEDIUM")

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

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

->flip(Picsmize::get("FLIP_HORIZONTAL"))

->toJSON(function($response){

	dd($response);

});
```

Debugging Mode
--------------

[](#debugging-mode)

To enable debugging mode, just set `APP_DEBUG=true` and the package will include the queries and inputs used when processing the table.

**IMPORTANT:** Please make sure that APP\_DEBUG is set to false when your app is on production.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

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

1397d 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 (1 commits)")[![picsmize](https://avatars.githubusercontent.com/u/109585947?v=4)](https://github.com/picsmize "picsmize (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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