PHPackages                             samjoyce777/album - 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. [Caching](/categories/caching)
4. /
5. samjoyce777/album

ActiveLaravel[Caching](/categories/caching)

samjoyce777/album
=================

Small image caching repository

08PHP

Since Feb 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/samjoyce777/album)[ Packagist](https://packagist.org/packages/samjoyce777/album)[ RSS](/packages/samjoyce777-album/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Image Cache Repository
==============================

[](#laravel-image-cache-repository)

This package simply uses a directory of your choosing, allows you to set the sizes of images and then resizes and saves them as a cache file in the public directory of your choosing. Mirrors the original folders directory structure and keeps filename but with the addition of the dimensions on the cache filename. Only makes the cache file on request so non-used images / sizes wont be cached.

### Installation

[](#installation)

```
$ composer install samjoyce777/album --save
```

Add the service provider to the config.php

```
$ \samjoyce777\album\AlbumServiceProvider::class,
```

Add the facade as well to make it all pretty

```
$ 'Album' => \samjoyce777\album\Facades\Album::class,
```

Move the config file to make your customizations

```
$ php artisan vendor:publish --tag=config
```

### Usage

[](#usage)

This will return the cache image URL of the size you have requested listed in you config

```
Album::getImage('cushion.jpg', 'medium');
```

This will get return the cache image URL of the nearest sized image from your configured sizes, it will always make sure it is the same or larger.

```
Album::getNearestImage('cushion.jpg', 200);
```

This is still in work in progress stage.
----------------------------------------

[](#this-is-still-in-work-in-progress-stage)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7439530?v=4)[elmhurst interactive](/maintainers/elmhurst)[@elmhurst](https://github.com/elmhurst)

---

Top Contributors

[![elmhurst50](https://avatars.githubusercontent.com/u/6770978?v=4)](https://github.com/elmhurst50 "elmhurst50 (6 commits)")

### Embed Badge

![Health badge](/badges/samjoyce777-album/health.svg)

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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