zavodnoyapl / crypto-bundle
Symfony 2/3/4 数据加密包,使用 openssl 库进行数据加密
dev-master
2020-07-03 13:44 UTC
Requires
- php: >=5.4
- ext-openssl: *
- symfony/framework-bundle: >=2.8
Requires (Dev)
- phpunit/phpunit: ^4.8.36
This package is not auto-updated.
Last update: 2024-09-22 07:59:09 UTC
README
该包仍在开发中。 分支 https://github.com/agentsib/crypto-bundle
安装步骤
步骤 1: 下载包
打开命令行,进入项目目录,执行以下命令以下载该包的最新稳定版本
$ composer require zavodnoyapl/crypto-bundle
此命令要求您全局安装了 Composer,请参阅 Composer 文档中的安装章节。
步骤 2: 启用包 (Symfony 2/3)
然后,将包添加到项目 app/AppKernel.php
文件中注册的包列表中来启用该包
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new AgentSIB\CryptoBundle\AgentSIBCryptoBundle(), ); // ... } // ... }