agentsib/crypto-bundle

使用openssl库加密数据的Symfony 6扩展包

v3.0.0 2024-09-17 07:40 UTC

This package is auto-updated.

Last update: 2024-09-17 07:41:40 UTC


README

第1步:下载扩展包

打开命令行界面,进入您的项目目录,并执行以下命令以下载此扩展包的最新稳定版本

$ composer require agentsib/crypto-bundle

此命令要求您全局安装了Composer,具体请参考Composer文档中的安装章节

第2步:启用扩展包(Symfony 6)

然后,将扩展包添加到项目config/bundles.php文件中已注册的扩展包列表中,以启用该扩展包

<?php
// config/bundles.php

return [
    // ...
    AgentSIB\CryptoBundle\AgentSIBCryptoBundle::class => ['all' => true],
    // ...
];