PHPackages                             hoborglabs/sgallery - 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. hoborglabs/sgallery

ActiveLibrary

hoborglabs/sgallery
===================

Static Gallery

v1.3.2(11y ago)024JavaScript

Since Jan 14Pushed 10y ago2 watchersCompare

[ Source](https://github.com/hoborglabs/sgallery)[ Packagist](https://packagist.org/packages/hoborglabs/sgallery)[ RSS](/packages/hoborglabs-sgallery/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (17)Used By (0)

SGallery
========

[](#sgallery)

- [Main Principles](#main-principles)
- [Installation](#installation)
- [Configuration](#configuration)
- [Folder Structure](#folder-structure)

SGallery stands for SimpleGallery or SpeedeGallery or SuperfastGallery or ... you get the idea.

```
curl -O http://get.hoborglabs.com/sgallery/sg.phar
chmod +x sg.phar
./sg.phar configure
./sg.phar install
./sg.phar update

```

Main Principles
---------------

[](#main-principles)

Whole gallery is generated up-front using your folder with photos. And by whole gallery I mean HTML, JSON for frontend ajax calls, CSS, JS, and image thumbnails.
You can use it to generate your gallery on your PC and upload it to your web server.

You need PHP 5.3 (or higher) to run it from command line.

After [installing](#installation) and configuring all you need to do is run single command

```
./sg.phar update

```

and that's it!

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

[](#installation)

Download Simple Gallery

```
curl -O http://get.hoborglabs.com/sgallery/sg.phar
chmod +x sg.phar

```

### Development

[](#development)

Clone repo

```
git clone git://github.com/hoborglabs/sgallery.git
cd sgallery

```

Install vendors

```
curl -s https://getcomposer.org/installer | php
php composer.phar update

```

If you want to update JS, you will have to run following command after putting your changes.

```
ant build.js
php src/sg.php install:assets

```

If you want to update CSS, you need to run the following command after changing CSS files

```
ant build.css
php src/sg.php install:assets

```

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

[](#configuration)

To configure or re-configure sgallery simply run `./sg.phar configure`. You can also manualy edit 'sg.properties' and specify source folder with your images, and target folder for generating gallery assets and all other options.

### source

[](#source)

Source folder with your photos.

```
source = '/Users/wojtek/Pictures/'
```

### target

[](#target)

Target folder - usually public folder of your host

```
target = '/var/www/sgallery/public'
```

### skin

[](#skin)

Skin name, being a folder name inside templates.

```
skin = hoborglabs
```

### language

[](#language)

Language.

```
language = en
```

### public files and folders mode

[](#public-files-and-folders-mode)

```
public.folderMode = 0755
public.fileMode = 0644
```

### thumbnails

[](#thumbnails)

```
; Quality for generated thumbnails. 100 no compression, 0 full
; compression.
thumbnails.quality = 75

; Size for generated thumbnails
thumbnails.size = 230

; Max width or height of your source Image. Depending on your PHP
; memory limit settings. For 128M keep it around 4000.
thumbnails.sourceMaxSize = 4000
```

### covers limits

[](#covers-limits)

```
covers.limit.2tile = 16
covers.limit.1tile = 8
```

Folder Structure
----------------

[](#folder-structure)

After running SG you will find following folders in your target folder.

```
├── albums
|   ├── your-album-01
|   └── ...
├── index.html
└── static
    ├── json
    ├── scripts
    ├── styles
    └── thumbnails

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity71

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

Recently: every ~2 days

Total

14

Last Release

4156d ago

Major Versions

v0.3.4 → v1.0.02013-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/70a9f64a9e69c321acaf7ec450a7210471693116266afa75f7d79ba4731f1903?d=identicon)[woledzki](/maintainers/woledzki)

---

Top Contributors

[![woledzki](https://avatars.githubusercontent.com/u/919767?v=4)](https://github.com/woledzki "woledzki (7 commits)")

### Embed Badge

![Health badge](/badges/hoborglabs-sgallery/health.svg)

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

###  Alternatives

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11150.5k10](/packages/vaimo-composer-changelogs)

PHPackages © 2026

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