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. altcha-org/altcha

ActiveLibrary

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

v1.3.2(2mo ago)78522.6k—1%917MITPHPPHP &gt;=8.2CI passing

Since Jul 26Pushed 1mo 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 1mo ago

READMEChangelog (9)Dependencies (10)Versions (16)Used By (17)Security (1)

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

[](#altcha-php-library)

The ALTCHA PHP Library is a lightweight, zero-dependency library designed for creating and verifying [ALTCHA](https://altcha.org) challenges, specifically tailored for PHP applications.

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

[](#compatibility)

This library is compatible with:

- PHP 8.2+ (use version v0.x.x for older PHP version)
- All major platforms (Linux, Windows, macOS)

Example
-------

[](#example)

- [Demo server](https://github.com/altcha-org/altcha-starter-php)

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

[](#installation)

To install the ALTCHA PHP Library, use the following command:

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

Usage
-----

[](#usage)

Here’s a basic example of how to use the ALTCHA PHP Library:

```
