PHP Package: fgrosse/phpasn1

PHP library for ASN.1 encoding and decoding with full flexibility and ease of use.

Current Version: 2.4.0
Last Updated: 2021-12-11
PHP Requirement: >=7.1
Dependencies: phpseclib/phpseclib, symfony/polyfill-mbstring
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

phpasn1 is a powerful PHP library that provides comprehensive support for encoding and decoding data using ASN.1 standards. With a focus on flexibility and ease of use, this library simplifies the process of working with complex data structures. Whether you need to parse cryptographic keys, certificates, or other binary data, phpasn1 offers a robust solution that streamlines development and ensures compatibility with industry standards.

🔗 View on GitHub

Download Latest Version: 2.4.0

Download Download v2.4.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/fgrosse/phpasn1/2.4.0/autoload.php';

use FG\ASN1\OID;
use FG\ASN1\Element;
use FG\ASN1\Universal\Integer;
use FG\ASN1\Universal\Sequence;
use FG\ASN1\Universal\PrintableString;
use FG\ASN1\Universal\ObjectIdentifier;
use phpseclib\Crypt\RSA;
use phpseclib\Math\BigInteger;
use Symfony\Polyfill\Mbstring\Mbstring;


$obj = new FG\ASN1\OID();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.