PHPackages                             s1syphos/php-simple-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. [Security](/categories/security)
4. /
5. s1syphos/php-simple-captcha

ActiveLibrary[Security](/categories/security)

s1syphos/php-simple-captcha
===========================

Simple captcha generator

2.3.0(3y ago)2737.8k—10%4[1 PRs](https://github.com/S1SYPHOS/php-simple-captcha/pulls)5MITPHPPHP ^8.0

Since Jan 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/S1SYPHOS/php-simple-captcha)[ Packagist](https://packagist.org/packages/s1syphos/php-simple-captcha)[ Docs](https://codeberg.org/S1SYPHOS/php-simple-captcha)[ RSS](/packages/s1syphos-php-simple-captcha/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (36)Used By (5)

php-simple-captcha
==================

[](#php-simple-captcha)

[![Build](https://camo.githubusercontent.com/5a8e16bf26ebd96434f67cd8c4c75e4600fc2e12db89b6cd6432f708c6fef92f/68747470733a2f2f63692e636f6465626572672e6f72672f6170692f6261646765732f5331535950484f532f7068702d73696d706c652d636170746368612f7374617475732e737667)](https://codeberg.org/S1SYPHOS/php-simple-captcha/issues)

[![Example captcha images](examples.png)](examples.png)

`php-simple-captcha` creates &amp; verifies captcha images, dependency-free &amp; respecting your user's privacy. It's a fork of [`Gregwar/Captcha`](https://github.com/Gregwar/Captcha), but supports modern PHP versions and comes with several new features &amp; bug fixes.

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

[](#installation)

It's available for [Composer](https://getcomposer.org):

```
composer require s1syphos/php-simple-captcha

```

Getting started
---------------

[](#getting-started)

Upon invoking the main class, you may specify a phrase (the string hidden in the captcha image), otherwise one will be created randomly:

```
