avkluchko / x509-bundle

This bundle for work with x509 certificate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

X509 Bundle

Build Status Total Downloads Latest Stable Version License

Services for work with x509 certificate.

Requirements

The minumum requirement by X509 Bundle is that your web-server supports PHP 8.0 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');
        // ...
    }
}

About

This bundle for work with x509 certificate

License:MIT License


Languages

Language:PHP 88.1%Language:Makefile 11.1%Language:Dockerfile 0.7%