PHPackages                             coresphereweb/loremimage - 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. coresphereweb/loremimage

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

coresphereweb/loremimage
========================

Random image system for PHP

1.1.2(8y ago)439BSD-3-ClausePHPPHP &gt;=5.2.2

Since Oct 4Pushed 8y ago3 watchersCompare

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

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

LoremImage - Random image system for PHP
========================================

[](#loremimage---random-image-system-for-php)

[![License](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://github.com/coresphereweb/loremimage/blob/master/license.md)

It requires PHP 5.2+ and is licensed under the New BSD License. You can obtain the latest version from our [GitHub repository](https://github.com/coresphereweb/loremimage/releases) or install it via Composer:

```
composer require coresphereweb/loremimage

```

Usage
-----

[](#usage)

Render:

```
$lorem = new \LoremImage\LoremImage();
$lorem->setPathUrl('/loremimage/');
$lorem->setPathImages(PATH . 'img/loremimage/');

$lorem->render();
```

Conditions by \_GET
-------------------

[](#conditions-by-_get)

- [b](int)\[/b\] w - width to resize
- (int) h - height to resize
- (string) category(s) (folder in setPathImages())
- (int) picture
- (string) effect
- (int) qtd
- (bool) hierarchy - By default is active, when is false the system stop reading subcategories from category father.
- (string) resize - crop (default), fill or proportional

Effects
-------

[](#effects)

- pixelate\*
- smooth\*
- noise\*
- negative
- emboss\*
- edge\*
- contrast
- colorize
- grayscale
- brightness
- blur\*
- blur2\*
- sharpen

- This effects respond to \_GET\['qtd'\], with recursive does the same procedure by a number inputed. Be carefoul, the higher is the number, more consuming and slower.

Routes (optional)
-----------------

[](#routes-optional)

1. width and height: /loremimage/r/600/400
2. category: /loremimage/cars
3. width, height and category: /loremimage/600/400/cars
4. width, height, category and select picture by ASC: /loremimage/600/400/cars/1

- IMPORTANT: .htaccess is necessary to routes work

---

(c) Coresphere Tecnologia, 2016 ()

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~101 days

Total

5

Last Release

3189d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96b39699e4b7231e6f37ec9ea47ff5dadc17814dbe12ad325547665ffdad5bbe?d=identicon)[felipegallo](/maintainers/felipegallo)

![](https://www.gravatar.com/avatar/38f2536e385ab1b02ec74e8bff11f4b194ef41dc63090eb41631ab0313fcda54?d=identicon)[brunoguerreiro](/maintainers/brunoguerreiro)

---

Top Contributors

[![felipegallo](https://avatars.githubusercontent.com/u/1732081?v=4)](https://github.com/felipegallo "felipegallo (13 commits)")

---

Tags

placeholderloremrandom-imageloremipsumloremimagerandomimgimage placeholder

### Embed Badge

![Health badge](/badges/coresphereweb-loremimage/health.svg)

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

###  Alternatives

[sitegeist/sms-responsive-images

Provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.

34522.8k3](/packages/sitegeist-sms-responsive-images)[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[sadovojav/yii2-image-thumbnail

Yii2 image thumbnail component

2345.3k](/packages/sadovojav-yii2-image-thumbnail)[alirezasedghi/laravel-image-faker

A library to generate fake images for Laravel

1633.4k10](/packages/alirezasedghi-laravel-image-faker)[daun/statamic-placeholders

Generate low-quality image placeholders for lazyloading Statamic assets

108.3k](/packages/daun-statamic-placeholders)

PHPackages © 2026

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