PHPackages                             adrenth/raindrop-sdk - 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. adrenth/raindrop-sdk

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

adrenth/raindrop-sdk
====================

Hydro Raindrop SDK

1.2.0(7y ago)933612MITPHPPHP ^7.0

Since Jul 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/adrenth/raindrop-sdk)[ Packagist](https://packagist.org/packages/adrenth/raindrop-sdk)[ RSS](/packages/adrenth-raindrop-sdk/feed)WikiDiscussions develop Synced today

READMEChangelogDependencies (4)Versions (6)Used By (2)

Hydro Raindrop SDK PHP
======================

[](#hydro-raindrop-sdk-php)

This package provides a suite of convenience functions intended to simplify the integration of Hydro's [Raindrop authentication](https://www.hydrogenplatform.com/hydro) into your project. More information, including detailed API documentation, is available in the [Raindrop documentation](https://www.hydrogenplatform.com/docs/hydro/v1/#Raindrop).

Raindrop comes in two flavors:

Client-side Raindrop
--------------------

[](#client-side-raindrop)

Client-side Raindrop is a next-gen 2FA solution. Hydro has open-sourced the [code powering Client-side Raindrop](https://github.com/hydrogen-dev/smart-contracts/tree/master/client-raindrop).

Server-side Raindrop
--------------------

[](#server-side-raindrop)

Server-side Raindrop is an enterprise-level security protocol to secure APIs and other shared resources. Hydro has open-sourced the [code powering Server-side Raindrop](https://github.com/hydrogen-dev/smart-contracts/tree/master/hydro-token-and-raindrop-enterprise).

Installation instructions
-------------------------

[](#installation-instructions)

`composer require adrenth/raindrop-sdk`

Usage example
-------------

[](#usage-example)

```
require __DIR__ . '/../vendor/autoload.php';

$clientId = '...';
$clientSecret = '...';
$applicationId = '...';

$settings = new \Adrenth\Raindrop\ApiSettings(
    $clientId,
    $clientSecret,
    new \Adrenth\Raindrop\Environment\SandboxEnvironment
);

// Create token storage for storing the API's access token.
$tokenStorage = new \Adrenth\Raindrop\TokenStorage\FileTokenStorage(__DIR__ . '/token.txt');

// Ideally create your own TokenStorage adapter.
// The shipped FileTokenStorage is purely an example of how to create your own.

/*
 * Client-side calls
 */
$client = new \Adrenth\Raindrop\Client($settings, $tokenStorage, $applicationId);

// (Un)register a user by it's Hydro ID
$client->registerUser($hydroId);
$client->unregisterUser($hydroId);

// Generate 6 digit message
$message = $client->generateMessage();

// Verify signature
$client->verifySignature($hydroId, $message);

/*
 * Server-side calls
 */
$server = new \Adrenth\Raindrop\Server($settings, $tokenStorage);

$server->whitelist('0x..'); // Provide ETH address
$server->challenge('41579b51-c365-406e-86a8-3839fcad576f');
$server->authenticate('41579b51-c365-406e-86a8-3839fcad576f');

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 60.9% 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.

###  Release Activity

Cadence

Every ~5 days

Total

5

Last Release

2888d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.2.0PHP ^7.0

### Community

Maintainers

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

---

Top Contributors

[![adrenth](https://avatars.githubusercontent.com/u/5699988?v=4)](https://github.com/adrenth "adrenth (28 commits)")[![rdrenth](https://avatars.githubusercontent.com/u/3629317?v=4)](https://github.com/rdrenth "rdrenth (17 commits)")[![ronaldvdlp](https://avatars.githubusercontent.com/u/7877846?v=4)](https://github.com/ronaldvdlp "ronaldvdlp (1 commits)")

---

Tags

hydrohydroplatformphp-libraryraindrop

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/adrenth-raindrop-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/adrenth-raindrop-sdk/health.svg)](https://phpackages.com/packages/adrenth-raindrop-sdk)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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