PHPackages                             theimpossibleastronaut/php-sam - 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. theimpossibleastronaut/php-sam

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

theimpossibleastronaut/php-sam
==============================

Basic SAMv3 implementation for I2P in PHP

v0.5(6y ago)451MITPHPPHP ^7.2CI passing

Since Oct 20Pushed 3mo ago2 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

[![License](https://camo.githubusercontent.com/729cb66e3a96a2e8ccc2f9b0ba89511cf045f063a7fc8069acf8a169834dddb7/68747470733a2f2f706f7365722e707567782e6f72672f746865696d706f737369626c65617374726f6e6175742f7068702d73616d2f6c6963656e7365)](https://packagist.org/packages/theimpossibleastronaut/php-sam)[![Latest Stable Version](https://camo.githubusercontent.com/ce87ed5d7e807499f24052f4d43464763ceebf80260ac16459745bfc7e2608c2/68747470733a2f2f706f7365722e707567782e6f72672f746865696d706f737369626c65617374726f6e6175742f7068702d73616d2f762f737461626c65)](https://packagist.org/packages/theimpossibleastronaut/php-sam)[![Latest Unstable Version](https://camo.githubusercontent.com/fa2a71b88fdd79896c6f6af5909134ee4702ea0f33fcde99881241ef0cc145b5/68747470733a2f2f706f7365722e707567782e6f72672f746865696d706f737369626c65617374726f6e6175742f7068702d73616d2f762f756e737461626c65)](https://packagist.org/packages/theimpossibleastronaut/php-sam)[![PHP Composer](https://camo.githubusercontent.com/f4944c478c6fcf559f53711c7893a5c9fe12e5719e2c984016fe980e75f4b354/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746865696d706f737369626c65617374726f6e6175742f7068702d73616d)](https://packagist.org/packages/theimpossibleastronaut/php-sam)

php-sam
=======

[](#php-sam)

Implementation for the SAMv3 bridge in PHP.

(Based on the article ["So you want to write a SAM library"](http://geti2p.net/en/blog/post/2019/06/23/sam-library-basics))

Most basic features are implemented. Go ahead and play with the examples. It's very basic as well. Requires PHP 7.2+.

```
