PHP Package: laminas/laminas-json

Laminas JSON library provides efficient JSON handling with ease of use and flexibility for PHP developers

Current Version: 3.7.1
Last Updated: 2024-12-05
PHP Requirement: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
Dependencies:
laminas/laminas-servicemanager
laminas/laminas-stdlib
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas JSON library is a powerful tool for PHP developers, offering seamless integration and robust JSON handling capabilities. It simplifies the process of encoding and decoding JSON data, ensuring efficient communication between applications. With its comprehensive features and user-friendly interface, Laminas JSON library streamlines development workflows and enhances overall project performance.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.7.1

Download Download v3.7.1

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/laminas/laminas-json/3.7.1/loader.php';
require_once 'libs/laminas/laminas-servicemanager/4.5.0/loader.php';
require_once 'libs/laminas/laminas-stdlib/3.21.0/loader.php';

use Laminas\Json\Json;
use Laminas\Json\Exception\ExceptionInterface;

$obj = new Json();
echo '✅ Test OK: ' . get_class($obj);
?>

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

Community Discussion

Ask questions, share tips, or report issues below.