PHPackages                             anrdaemon/mylittlegallery - 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. [Templating &amp; Views](/categories/templating)
4. /
5. anrdaemon/mylittlegallery

ActiveLibrary[Templating &amp; Views](/categories/templating)

anrdaemon/mylittlegallery
=========================

My Little Gallery, a PHP class and templates to create a quick drop-in HTML gallery.

1.3(7y ago)029[2 issues](https://github.com/AnrDaemon/MyLittleGallery/issues)WTFPLPHPPHP ^5.3 || ^7.0

Since Jun 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/AnrDaemon/MyLittleGallery)[ Packagist](https://packagist.org/packages/anrdaemon/mylittlegallery)[ RSS](/packages/anrdaemon-mylittlegallery/feed)WikiDiscussions master Synced today

READMEChangelog (8)DependenciesVersions (9)Used By (0)

MyLittleGallery
===============

[](#mylittlegallery)

A PHP class and templates to create a quick drop-in HTML gallery.

Throubleshooting the demo script
--------------------------------

[](#throubleshooting-the-demo-script)

### Unable to read files with non-ASCII names

[](#unable-to-read-files-with-non-ascii-names)

#### PHP before 7.1

[](#php-before-71)

Check that encoding of `config.php` file itself matches value of GALLERY\_FS\_ENCODING constant.

#### PHP 7.1+

[](#php-71)

`config.php` MUST be in `UTF-8`. For PHP 7.1 and up GALLERY\_FS\_ENCODING and `$fsEncoding` parameter of the constructor are ignored.

Starting from PHP 7.1, [PHP uses internal\_encoding to transcode file names](https://github.com/php/php-src/blob/e33ec61f9c1baa73bfe1b03b8c48a824ab2a867e/UPGRADING#L418). Before that, file IO under Windows (notably) done using "default" (so-called "ANSI") character set (i.e. CP1251 for Russian cyrillic).

Compiling single file archive
-----------------------------

[](#compiling-single-file-archive)

```
pharcommand.phar pack -f mlg.phar -s stub.php -c bzip2 index.php Gallery.php

```

Afterwards, the resulting `mlg.phar` can be used as index.php in your web gallery directory. You may want to place config.php next to it to configure the gallery. By default, it will list all recognized image files in current directory using UTF-8 encoding.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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 ~88 days

Recently: every ~153 days

Total

8

Last Release

2634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3e7396dfd7cab0d2c394e7e357ccc635a886d4b5ad38fb8c4c7e9846501dbd6?d=identicon)[AnrDaemon](/maintainers/AnrDaemon)

---

Top Contributors

[![AnrDaemon](https://avatars.githubusercontent.com/u/6532485?v=4)](https://github.com/AnrDaemon "AnrDaemon (10 commits)")

### Embed Badge

![Health badge](/badges/anrdaemon-mylittlegallery/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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