PHPackages                             altcha-org/altcha - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. altcha-org/altcha

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

altcha-org/altcha
=================

A lightweight PHP library for creating and verifying ALTCHA challenges.

v2.0.2(2mo ago)92831.1k↓12.8%1219MITPHPPHP &gt;=8.1CI passing

Since Jul 26Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/altcha-org/altcha-lib-php)[ Packagist](https://packagist.org/packages/altcha-org/altcha)[ RSS](/packages/altcha-org-altcha/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (10)Dependencies (15)Versions (22)Used By (19)Security (1)

ALTCHA PHP Library
==================

[](#altcha-php-library)

A lightweight PHP library for creating and verifying [ALTCHA](https://altcha.org) challenges using key derivation functions (PBKDF2, Argon2id, Scrypt).

Compatibility
-------------

[](#compatibility)

- PHP 8.1+

Migrating from V1 to V2
-----------------------

[](#migrating-from-v1-to-v2)

- [`MIGRATION-v1.md`](/MIGRATION-v1.md)

Example
-------

[](#example)

- [Basic Server](/examples/server.php)
- [Server Signature](/examples/server_verify.php)

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

[](#installation)

```
composer require altcha-org/altcha
```

Usage
-----

[](#usage)

```
