PHPackages                             toneflix-code/fakerphp-lorem-toneflix - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. toneflix-code/fakerphp-lorem-toneflix

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

toneflix-code/fakerphp-lorem-toneflix
=====================================

An alternative image provider for fakerphp using Lorem Toneflix.

1.0.3(8mo ago)01.5k1MITPHPPHP ^8.0|^8.1|8.2|8.3

Since Jul 9Pushed 8mo agoCompare

[ Source](https://github.com/toneflix/fakerphp-lorem-toneflix)[ Packagist](https://packagist.org/packages/toneflix-code/fakerphp-lorem-toneflix)[ Docs](https://github.com/toneflix/fakerphp-lorem-toneflix)[ GitHub Sponsors](https://github.com/toneflix)[ RSS](/packages/toneflix-code-fakerphp-lorem-toneflix/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (5)Versions (5)Used By (1)

Fakerphp Lorem Toneflix Images
==============================

[](#fakerphp-lorem-toneflix-images)

[![Latest Version on Packagist](https://camo.githubusercontent.com/82187ef47e0ed81f594f16959eb2dd267d458a56247db540e51ada62f4df31ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f6e65666c69782d636f64652f66616b65727068702d6c6f72656d2d746f6e65666c69782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/toneflix-code/fakerphp-lorem-toneflix)[![Tests](https://github.com/toneflix/fakerphp-lorem-toneflix/actions/workflows/run-tests.yml/badge.svg)](https://github.com/toneflix/fakerphp-lorem-toneflix/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/0e424a1b4f15cafd29bdceb0191279d82a03ec6622f7b26ac185174abf4aa6be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6e65666c69782d636f64652f66616b65727068702d6c6f72656d2d746f6e65666c69782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/toneflix-code/fakerphp-lorem-toneflix)

Introduction
------------

[](#introduction)

Alternative image provider for [fakerphp](https://github.com/fakerphp/faker) using [lorem.toneflix.com.ng](https://lorem.toneflix.com.ng)

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

[](#installation)

You can install the package via composer in dev dependency section:

```
composer require --dev toneflix-code/fakerphp-lorem-toneflix
```

Usage
-----

[](#usage)

```
$faker = \Faker\Factory::create();
$faker->addProvider(new \ToneflixCode\FakerLoremToneflix\FakerLoremToneflixProvider($faker));

// return a string that contains a url like 'https://lorem.toneflix.com.ng/images/avatar?w=800&h=600'
$faker->imageUrl(width: 800, height: 600, category: 'avatar');

// download a properly sized image from lorem toneflix into a file with a file path like '/tmp/13b73edae8443990be1aa8f1a483bc27.jpg'
$filePath= $faker->image(dir: '/tmp', width: 640, height: 480);
```

Also, there are some more options :

- effects (grayscale, pixelate)
- returning a specific photo based on an id instead of a random one (ex: )

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Toneflix Code](https://github.com/toneflix)
- [Legacy ](https://github.com/3m1n3nc3)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance60

Regular maintenance activity

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~154 days

Total

4

Last Release

252d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4638f9de973d94753ebff641af3009e1049064f9a6bd76fe87e58d0d8ddd7ca7?d=identicon)[3m1n3nc3](/maintainers/3m1n3nc3)

---

Top Contributors

[![smknstd](https://avatars.githubusercontent.com/u/2412608?v=4)](https://github.com/smknstd "smknstd (20 commits)")

---

Tags

fakerfakerphpflickr-alternativeimage-providerimageslaravelloremphprandomtoneflixphplaravelfakergeneratorimagesplaceholderlorem

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/toneflix-code-fakerphp-lorem-toneflix/health.svg)

```
[![Health](https://phpackages.com/badges/toneflix-code-fakerphp-lorem-toneflix/health.svg)](https://phpackages.com/packages/toneflix-code-fakerphp-lorem-toneflix)
```

###  Alternatives

[smknstd/fakerphp-picsum-images

Alternative image provider for fakerphp using picsum.photos

45242.7k7](/packages/smknstd-fakerphp-picsum-images)[tuncaybahadir/quar

A simple QR Code generation tool for your projects with Laravel 10, 11, 12, 13 versions, php 8.2, 8.3, 8.4 and 8.5

7799.0k6](/packages/tuncaybahadir-quar)[rumenx/php-feed

Framework-agnostic PHP Feed generator for Laravel, Symfony, and more.

3664.1k](/packages/rumenx-php-feed)

PHPackages © 2026

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