承接 theimpossibleastronaut/php-sam 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

theimpossibleastronaut/php-sam

Composer 安装命令:

composer require theimpossibleastronaut/php-sam

包简介

Basic SAMv3 implementation for I2P in PHP

关键字:

README 文档

README

License Latest Stable Version Latest Unstable Version PHP Composer

php-sam

Implementation for the SAMv3 bridge in PHP.

(Based on the article "So you want to write a SAM library")

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

<?php
require_once( "lib/php-sam.php" );

$sam = new \PHP_SAM\SAM3();
$sam->connect( false );
$sam->commandSAM( "HELLO VERSION MIN=3.0 MAX=3.1 \n" );

You can also use composer for this.

composer require theimpossibleastronaut/php-sam

And then use the autoloader:

<?php
require __DIR__ . '/vendor/autoload.php';

$sam = new \PHP_SAM\SAM3();
$sam->connect( false );
$sam->commandSAM( "HELLO VERSION MIN=3.0 MAX=3.1 \n" );

In order to run the tests, enable zend.assertions in your php.ini (don't do that in production) and run

php test/assert.php

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固