承接 zekreto/zekreto-client 相关项目开发

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

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

zekreto/zekreto-client

最新稳定版本:v1.0.0

Composer 安装命令:

composer require zekreto/zekreto-client

包简介

Client library for the zekreto encryption service

README 文档

README

A PHP class to encrypt or decrypt secrets using the Zekreto.com Encryption-as-a-Service

Installation

This package requires PHP 7.4 or newer and can be installed via composer with:

composer require zekreto/zekreto-client

Usage

  1. Create an account on zekreto.com and generate a token
  2. Install the package
  3. Instantiate the ZekretoClient class using the API key provided
  4. Use the object's encrypt and decrypt methods to handle your secrets as required

Configuration

The client uses environment variables (via the vlucas/phpdotenv package) to read settings, as of now the following can be controlled:

  • ZEKRETO_API_KEY (str): A string containing the Token provided by the server
  • ZEKRETO_API_URL (str): A URI pointing to a custom instance of Zekreto
  • ZEKRETO_EMPTYSTR_ON_ERROR (bool): If true it will silence any errors and just return an empty string

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-13