承接 district5/mondoc-encryption 相关项目开发

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

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

district5/mondoc-encryption

最新稳定版本:1.0.2

Composer 安装命令:

composer require district5/mondoc-encryption

包简介

Mondoc encryption provides the encrypt/decrypt functionality for Mondoc.

README 文档

README

CI Latest Stable Version PHP Version Require Codecov

FOSSA Status

Provides the encryption function to Mondoc

Installing with composer

Mondoc Encryption is used by, and leverages functionality from, the Mondoc library. You will need to install Mondoc in order to use Mondoc Encryption.

composer require district5/mondoc

Documentation...

All documentation for Mondoc Encryption, Mondoc, and Mondoc Builder are available at mondoc.district5.dev.

Common topics...

Testing

You can run PHPUnit against the library by running composer install and then running ./vendor/bin/phpunit

Creating a new encryption adapter

To create a new encryption adapter, you need to implement the EncryptionAdapterInterface interface, which requires the following methods:

    /**
     * Encrypt the field value.
     */
    public function encrypt(string $field, mixed $value): mixed;
    
    /**
     * Decrypt the field value.
     */
    public function decrypt(string $field, mixed $value): mixed;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: mit
  • 更新时间: 2025-05-16