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

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

genealabs/laravel-imagery
=========================

Serve optimize images for faster page loads.

691[2 issues](https://github.com/mikebronner/laravel-imagery/issues)[5 PRs](https://github.com/mikebronner/laravel-imagery/pulls)PHPCI failing

Since Dec 17Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/mikebronner/laravel-imagery)[ Packagist](https://packagist.org/packages/genealabs/laravel-imagery)[ RSS](/packages/genealabs-laravel-imagery/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

Imagery for Laravel
===================

[](#imagery-for-laravel)

[![Imagery for Laravel masthead image.](https://repository-images.githubusercontent.com/93322764/8faaac00-f349-11e9-9b4d-89244bed67ab)](https://repository-images.githubusercontent.com/93322764/8faaac00-f349-11e9-9b4d-89244bed67ab)

[![Join the chat at https://gitter.im/GeneaLabs/laravel-imagery](https://camo.githubusercontent.com/0bc8c0b74fca3f0ba674e26a0b0afef42238aae8fd2228f14f7034a03289ec2e/68747470733a2f2f6261646765732e6769747465722e696d2f47656e65614c6162732f6c61726176656c2d696d61676572792e737667)](https://gitter.im/GeneaLabs/laravel-imagery?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Travis](https://camo.githubusercontent.com/4ec709abb631920690ffee61dbece1cbda3670e47f957c1efbdcc36ecb8e9240/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f47656e65614c6162732f6c61726176656c2d696d61676572792e737667)](https://travis-ci.org/GeneaLabs/laravel-imagery)[![SensioLabs Insight](https://camo.githubusercontent.com/d953c7d6fa2fbbac548f7dcc54933af32123e56e737a1a63b3b40b72e23d69c4/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f64646266623766322d656161312d346231302d626431352d3838386565666265623030302e737667)](https://insight.sensiolabs.com/projects/ddbfb7f2-eaa1-4b10-bd15-888eefbeb000/analyses/1)[![Scrutinizer](https://camo.githubusercontent.com/1c8b293ba978d6d71fa1261f9f7d965ebf5db76171ad6ad5f4c2771e5d3e8e89/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f47656e65614c6162732f6c61726176656c2d696d61676572792e737667)](https://scrutinizer-ci.com/g/GeneaLabs/laravel-imagery)[![Coveralls](https://camo.githubusercontent.com/c20793a3f826ca297be49c53768e995eaff580766c4959bf48891791dcb6bfa5/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f47656e65614c6162732f6c61726176656c2d696d61676572792e737667)](https://coveralls.io/github/GeneaLabs/laravel-imagery)[![GitHub (pre-)release](https://camo.githubusercontent.com/5acbae159f6926f8c27e2b27bf5dad31444a1c1a109d8621f0e7d69e221721af/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f47656e65614c6162732f6c61726176656c2d696d61676572792f616c6c2e737667)](https://github.com/GeneaLabs/laravel-imagery)[![Packagist](https://camo.githubusercontent.com/699e8e95b435dd33e87997171118ea0a8f91f3c50a4022411202f478c95521a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f47656e65614c6162732f6c61726176656c2d696d61676572792e737667)](https://packagist.org/packages/genealabs/laravel-imagery)

**NOTE: Still under initial development, not yet functional. Initial release will be available in the next week or so. Stay tuned. :)**

Goal
----

[](#goal)

Provide developers a simplified solution to serving dynamic and optimized images, regardless if the user uploaded unoptimized images. This is particularly important for blogs and CMS'.

Reasoning
---------

[](#reasoning)

There are some online third-party services out there that can handle this. But what do you do if you don't want the extra expense or complexity, or are serving sensitive images in an intranet setting that cannot be trusted to 3rd- party vendors? This package aims to fill that gap, and more-over, improve user experience in your application by loading assets faster, and at the right sizes.

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

[](#installation)

1. Pull in the package:

```
composer require genealabs/imagery
```

2. Register the service provider in `\config\app.php`:

```
GeneaLabs\LaravelImagery\Providers\LaravelImageryService::class,
```

3. Publish the assets:

```
php artisan imagery:publish --assets
```

Configuration
-------------

[](#configuration)

### Settings

[](#settings)

Annotations to be added...

```
