X509 Bundle
Services for work with x509 certificate.
Requirements
The minumum requirement by X509 Bundle is that your web-server supports PHP 7.1 or above.
Warning! Need installed openssl php extension.
Installation
Install the package with:
composer require avkluchko/x509-bundle
If you're not using Symfony Flex, you'll also
need to enable the AVKluchko\X509Bundle\X509Bundle
in your AppKernel.php
file.
Usage
// src/Controller/SomeController.php
use AVKluchko\X509Bundle\Service\Parser;
// ...
class SomeController
{
public function index(Parser $parser)
{
$data = $parser->parse('some_certificate_file');
// ...
}
}