PHPackages                             hrevert/ht-profile-image - 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. hrevert/ht-profile-image

ActiveModule

hrevert/ht-profile-image
========================

A Zend framework module which adds profile image upload functionality to ZfcUser

2.3.2(11y ago)126356[3 issues](https://github.com/hrevert/HtProfileImage/issues)MITPHPPHP &gt;=5.4

Since Dec 26Pushed 11y ago4 watchersCompare

[ Source](https://github.com/hrevert/HtProfileImage)[ Packagist](https://packagist.org/packages/hrevert/ht-profile-image)[ Docs](https://github.com/hrevert/HtProfileImage)[ RSS](/packages/hrevert-ht-profile-image/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (11)Versions (16)Used By (0)

HtProfileImage
==============

[](#htprofileimage)

[![Master Branch Build Status](https://camo.githubusercontent.com/5a961a1ccacf59c187cccb96f964419982aafe81db9a3b8cb5f492f78de69bc7/68747470733a2f2f6170692e7472617669732d63692e6f72672f687265766572742f487450726f66696c65496d6167652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/hrevert/HtProfileImage)[![Latest Stable Version](https://camo.githubusercontent.com/305f89caae074bf7fcfc34d35eaa7b872211cb8187e9f297555bba55c10ab25a/68747470733a2f2f706f7365722e707567782e6f72672f687265766572742f68742d70726f66696c652d696d6167652f762f737461626c652e706e67)](https://packagist.org/packages/hrevert/ht-profile-image)[![Latest Unstable Version](https://camo.githubusercontent.com/ef86ca2841c63cb51fe9ca7188488edec2d4e4d69913a2b549ba70bdd6af53f7/68747470733a2f2f706f7365722e707567782e6f72672f687265766572742f68742d70726f66696c652d696d6167652f762f756e737461626c652e706e67)](https://packagist.org/packages/hrevert/ht-profile-image)[![Total Downloads](https://camo.githubusercontent.com/3c2a0e3824bcbbbb20d383d987f4ffa61a194f11ef7946f5b558c1c46004c559/68747470733a2f2f706f7365722e707567782e6f72672f687265766572742f68742d70726f66696c652d696d6167652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/hrevert/ht-profile-image)

A Zend framework 2 module which adds profile image upload functionality to ZfcUser

Requirement
-----------

[](#requirement)

- [Zend Framework 2](https://github.com/zendframework/zf2)
- [ZfcUser](https://github.com/ZF-Commons/ZfcUser)
- [HtImgModule](https://github.com/hrevert/HtImgModule)

Features
--------

[](#features)

- Setting Gravatar as alternative when user has not uploaded his image
- Setting gender wise default image when user has not uploaded his image
- Resizing options for storing
- Useful view helpers to get user images from view templates

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

[](#installation)

- Add `"hrevert/ht-profile-image": "2.3.*",` to your composer.json and run `php composer.phar update`
- Enable this module as `HtProfileImage` and `HtImgModule` in `config/application.config.php`
- Copy file located in `config/htprofileimage.global.php` to `./config/autoload/htprofileimage.global.php` and change the values as you wish
- Import the SQL schema located in `./vendor/hrevert/ht-profile-image//data/schema.sql` if you use want to use different default images for different genders.

Note: Also, checkout the options of `HtImgModule`.

How To
------

[](#how-to)

Please check this [/docs](/docs) folder for more details on how to use this module.

TODO
----

[](#todo)

1. Ajax image upload
2. Improve tests

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~43 days

Total

14

Last Release

4216d ago

Major Versions

1.0.3.2 → v2.0.1-beta12014-02-27

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

1.0.1PHP &gt;=5.4

### Community

Maintainers

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

---

Tags

ZendFrameworkmodulezf2

### Embed Badge

![Health badge](/badges/hrevert-ht-profile-image/health.svg)

```
[![Health](https://phpackages.com/badges/hrevert-ht-profile-image/health.svg)](https://phpackages.com/packages/hrevert-ht-profile-image)
```

###  Alternatives

[zf-commons/zfc-user

A generic user registration and authentication module for ZF2. Supports Zend\\Db and Doctrine2.

4851.1M70](/packages/zf-commons-zfc-user)[hrevert/ht-img-module

Image manipulation module for Zend Framework 2

1829.6k2](/packages/hrevert-ht-img-module)

PHPackages © 2026

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