PHPackages                             pixnyb/silverstripe-picsum - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. pixnyb/silverstripe-picsum

ActiveSilverstripe-vendormodule[File &amp; Storage](/categories/file-storage)

pixnyb/silverstripe-picsum
==========================

A module that downloads sample images for each image in the database if the file does not exist. Useful for development when a database dump is provided.

0202PHP

Since Jul 4Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Silverstripe Picsum
===================

[](#silverstripe-picsum)

This module provides a simple way to load images for an existing database dump. It uses the [Lorem Picsum](https://picsum.photos/) API to fetch images.

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

[](#installation)

```
composer require pixnyb/silverstripe-picsum --dev
```

Usage
-----

[](#usage)

After importing your database dump, you can run the following task to fetch images for all instances of the image class. It will store the images in the assets directory in local storage.

```
sake dev/tasks/download-sample-images
```

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

[](#configuration)

You can configure the assets directory in order to comply with custom configurations, use prefetching and set the prefetching limit.

Below are the default configuration values:

```
PixNyb\Picsum\Tasks\DownloadSampleImageTask:
  assets_directory: 'assets'
  prefetch: true
  prefetch_limit: 10
```

Note

The prefetching feature will remove the need to download a new image for each instance of the image class. It will download a set number of images and reuse them for all instances. This does mean that the images won't be unique, but it will speed up the task significantly.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 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://www.gravatar.com/avatar/e81407c3850e235ac246bc79116c74cac965fb3c8c146404b40ea660c88333eb?d=identicon)[PixNyb](/maintainers/PixNyb)

---

Top Contributors

[![PixNyb](https://avatars.githubusercontent.com/u/40770831?v=4)](https://github.com/PixNyb "PixNyb (9 commits)")

### Embed Badge

![Health badge](/badges/pixnyb-silverstripe-picsum/health.svg)

```
[![Health](https://phpackages.com/badges/pixnyb-silverstripe-picsum/health.svg)](https://phpackages.com/packages/pixnyb-silverstripe-picsum)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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