avkluchko / x509-bundle
x509证书操作组件
v1.0.7
2022-03-13 07:11 UTC
Requires
- php: ^7.4 || ^8.0
- ext-openssl: *
- avkluchko/government-bundle: ^1.1.3
- symfony/config: ^4.0 || ^5.1.5
- symfony/dependency-injection: ^4.1.12 || ^5.1.5
- symfony/http-kernel: ^4.0 || ^5.1.5
Requires (Dev)
- phpstan/phpstan: ^1.4
- phpstan/phpstan-symfony: ^1.1
- phpunit/phpunit: ^8.5
- squizlabs/php_codesniffer: ^3.6
- symfony/phpunit-bridge: ^4.1.12 || ^5.1.5
This package is auto-updated.
Last update: 2024-09-13 21:49:55 UTC
README
x509证书操作服务
需求
对于X509 Bundle的最小要求是您的Web服务器支持PHP 8.0或更高版本。
警告! 需要安装openssl php扩展。
安装
使用以下命令安装软件包
composer require avkluchko/x509-bundle
如果您 没有 使用Symfony Flex,您还需要在您的 AppKernel.php 文件中启用 AVKluchko\X509Bundle\X509Bundle。
使用
// src/Controller/SomeController.php use AVKluchko\X509Bundle\Service\Parser; // ... class SomeController { public function index(Parser $parser) { $data = $parser->parse('some_certificate_file'); // ... } }