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(8y ago)833612MITPHPPHP ^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 2w ago

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

31

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

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

2933d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k52](/packages/neuron-core-neuron-ai)[civicrm/civicrm-core

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

762297.9k52](/packages/civicrm-civicrm-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[oat-sa/tao-core

TAO core extension

65147.9k151](/packages/oat-sa-tao-core)

PHPackages © 2026

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