PHPackages                             sitewards/captcha - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. sitewards/captcha

ActiveMagento-module[Validation &amp; Sanitization](/categories/validation)

sitewards/captcha
=================

Additional functionality for magento captcha extension.

04PHP

Since Jun 20Pushed 11y ago28 watchersCompare

[ Source](https://github.com/sitewards/Captcha)[ Packagist](https://packagist.org/packages/sitewards/captcha)[ RSS](/packages/sitewards-captcha/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sitewards Captcha
=================

[](#sitewards-captcha)

The Sitewards Captcha Extension provides functionality to add captcha to "Email to a Friend" form.

Features
--------

[](#features)

- adds captcha for unregistered customer to "Email to a Friend" form.
- you can configure "Number of emails without captcha" and "CAPTCHA Timeout (seconds)"
- opens "Email to a Friend" form in popup window.
- adds Product Name field to "Email to a Friend" form.
- by default message field is filled by product description

File list
---------

[](#file-list)

- app\\code\\community\\Sitewards\\Captcha\\Sendfriend\\Send.php
    - update the Mage\_Sendfriend\_Block\_Send to allow customer edit product description and name
    - check if captcha required
- app\\code\\community\\Sitewards\\Captcha\\controllers\\ProductController.php
    - Override Mage\_Sendfriend\_ProductController action sendmailAction to work with the pop up and not the normal form
- app\\code\\community\\Sitewards\\Captcha\\etc\\config.xml
    - Set-up model declaration
    - Set-up helper declaration
    - Set-up layout configuration
    - Set-up translations
        - Frontend
    - Rewrite Mage\_Sendfriend router
    - Add product\_sendtofriend\_form\_captcha to the list of captcha forms
- app\\code\\community\\Sitewards\\Captcha\\etc\\system.xml
    - Assign admin config fields to sections
        - Customers-&gt;Customer Configuration-&gt;Captcha
- app\\code\\community\\Sitewards\\Captcha\\Helper\\Data.php
    - check if captcha is required
- app\\code\\community\\Sitewards\\Captcha\\Model\\CaptchaChecker.php
    - check if captcha is required
    - validate captcha
    - increments successful form submit
- app\\code\\community\\Sitewards\\Captcha\\Model\\Sendfriend.php
    - override Mage\_Sendfriend\_Model\_Sendfriend
    - set the correct product url in the email sent
    - sent customer modified product name
    - validate captcha
- app\\design\\frontend\\base\\default\\layout\\sitewards\\captcha.xml
    - Set "Email to a Friend" template
    - Add popup java scripts to product page
- app\\design\\frontend\\base\\default\\template\\sitewards\\captcha\\sendfriend\\send.phtml
    - Added Product Name field
    - Massage field by default is filled by product description
    - If required display captcha
- app\\design\\frontend\\base\\default\\template\\sitewards\\captcha\\closepopup.phtml
    - Close popup window
    - Redirect to product page
- app\\etc\\modules\\Sitewards\_Captcha.xml
    - Activate module
    - Specify community code pool
    - Set-up dependencies
        - Mage\_Catalog
        - Mage\_Sendfriend
- app\\locale\\de\_DE\\Sitewards\_Captcha.csv
    - Translation
- js\\sitewards\\captcha.js
    - Show prototype popup window
    - Close popup window

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community13

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://avatars.githubusercontent.com/u/1398594?v=4)[Tobias Zander](/maintainers/airbone42)[@airbone42](https://github.com/airbone42)

![](https://www.gravatar.com/avatar/80aa4371001ed8670bb0b413a85d72dff827f905a5cbf18c71909c505e4ed2e2?d=identicon)[osvarychevskyi](/maintainers/osvarychevskyi)

---

Top Contributors

[![osvarychevskyi](https://avatars.githubusercontent.com/u/4621877?v=4)](https://github.com/osvarychevskyi "osvarychevskyi (6 commits)")

### Embed Badge

![Health badge](/badges/sitewards-captcha/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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