avkluchko/x509-bundle

Bundle for work with x509 certificate

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

v1.0.7 2022-03-13 07:11 UTC

This package is auto-updated.

Last update: 2024-11-13 22:13:20 UTC


README

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');
        // ...
    }
}