承接 pear/crypt_gpg 相关项目开发

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

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

pear/crypt_gpg

最新稳定版本:v1.6.11

Composer 安装命令:

composer require pear/crypt_gpg

包简介

Provides an object oriented interface to the GNU Privacy Guard (GnuPG). It requires the GnuPG executable to be on the system.

README 文档

README

Crypt_GPG is a PHP package to interact with the GNU Privacy Guard (GnuPG). GnuPG is a free and open-source implementation of the OpenPGP protocol, providing key management, data encryption and data signing. Crypt_GPG provides an object-oriented API for performing OpenPGP actions using GnuPG.

Documentation

Quick Example

<?php

require_once 'Crypt/GPG.php';

$gpg = new Crypt_GPG();
$gpg->addEncryptKey('test@example.com');
$data = $gpg->encrypt('my secret data');

?>

Further Documentation

Bugs and Issues

Please report all new issues via the PEAR bug tracker.

Please submit pull requests for your bug reports!

Testing

To test, run either $ phpunit tests/ or $ pear run-tests -r

Building

To build, simply $ pear package

Installing

To install from scratch $ pear install package.xml

To upgrade $ pear upgrade -f package.xml

统计信息

  • 总下载量: 4.22M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 97
  • 点击次数: 2
  • 依赖项目数: 10
  • 推荐数: 1

GitHub 信息

  • Stars: 95
  • Watchers: 17
  • Forks: 31
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-2.1
  • 更新时间: 2026-01-04