PHPackages                             gwhitcher/cakephp-photo-gallery - 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. gwhitcher/cakephp-photo-gallery

ActiveCakephp-plugin

gwhitcher/cakephp-photo-gallery
===============================

PhotoGallery plugin for CakePHP.

041PHP

Since Jan 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/gwhitcher/PhotoGallery-plugin-for-CakePHP)[ Packagist](https://packagist.org/packages/gwhitcher/cakephp-photo-gallery)[ RSS](/packages/gwhitcher-cakephp-photo-gallery/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PhotoGallery plugin for CakePHP
===============================

[](#photogallery-plugin-for-cakephp)

Developed by: [George Whitcher](http://georgewhitcher.com)

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

- The recommended way to install composer packages is: composer require gwhitcher/cakephp-photo-gallery (If composer is unavailable download the zip and extract it to your plugins directory.)
- PhotoGallery requires Imagick php extension for image resizing: [Imagick](http://php.net/manual/en/imagick.setup.php). You cannot run it without it.
- Install the database tables by visiting DOMAIN.com/photo\_gallery/install or by running the below queries on your database.

CREATE TABLE gallery ( id INT UNSIGNED AUTO\_INCREMENT PRIMARY KEY, category\_id INT(11), title VARCHAR(50), description TEXT, img VARCHAR(50), created DATETIME DEFAULT NULL, modified DATETIME DEFAULT NULL );

CREATE TABLE category ( id INT UNSIGNED AUTO\_INCREMENT PRIMARY KEY, title VARCHAR(50), description TEXT, img VARCHAR(50), created DATETIME DEFAULT NULL, modified DATETIME DEFAULT NULL );

- CHMOD 777 your /plugins/PhotoGallery/webroot/img/gallery and all it's subfolders.
- Go to your /ROOT/config/bootstrap.php and load the plugin by adding the following to the end of the file: Plugin::load('PhotoGallery', \['bootstrap' =&gt; false, 'routes' =&gt; true\]);
- Congratulations you are all setup!

URL Structure (this can be changed in routes.php)
-------------------------------------------------

[](#url-structure-this-can-be-changed-in-routesphp)

The URL's are as follows: Auto Installer: DOMAIN.com/photo\_gallery/install

Main gallery view: DOMAIN.com/photo\_gallery/gallery DOMAIN.com/photo\_gallery/category

Gallery image add: DOMAIN.com/photo\_gallery/gallery/add

Category add: DOMAIN.com/photo\_gallery/category/add

Gallery image edit: (replace ID) DOMAIN.com/photo\_gallery/gallery/edit/ID

Category edit: (replace ID) DOMAIN.com/photo\_gallery/category/edit/ID

Gallery image delete: (replace ID) DOMAIN.com/photo\_gallery/gallery/delete/ID

Category delete: (replace ID) DOMAIN.com/photo\_gallery/category/delete/ID

CUSTOM SECURITY
---------------

[](#custom-security)

Open /plugins/PhotoGallery/src/Controller/AppController.php

You will see some commented out code. Remove the comments so it will be functioning.

Get your IP and replace it with the 127.0.0.1 (If you remove the comments from echo $ip you can get your current IP. It will show at the top of any unsecured page. Just make sure to remove it after you have noted your IP.)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4999471ad13c827aadef3f17b22799ca782ddeb9da6445aaf8c8351fa0c8c23e?d=identicon)[gwhitcher](/maintainers/gwhitcher)

---

Top Contributors

[![gwhitcher](https://avatars.githubusercontent.com/u/3220183?v=4)](https://github.com/gwhitcher "gwhitcher (1 commits)")

### Embed Badge

![Health badge](/badges/gwhitcher-cakephp-photo-gallery/health.svg)

```
[![Health](https://phpackages.com/badges/gwhitcher-cakephp-photo-gallery/health.svg)](https://phpackages.com/packages/gwhitcher-cakephp-photo-gallery)
```

PHPackages © 2026

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