How to install php-jsonlint on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

JSON Lint for PHP

License: MIT Vendor: Fedora Project https://github.com/Seldaek/jsonlint

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel noarch Version
RHEL 7 Base 1.6.1

Description

JSON Lint for PHP. This library is a port of the JavaScript jsonlint (https://github.com/zaach/jsonlint) library. Bin: /usr/bin/jsonlint-php [1] Autoloader: /usr/share/php/Seld/JsonLint/autoload.php [1] Package python2-demjson installs /usr/bin/jsonlint so this package's bin script has been renamed to /usr/bin/jsonlint-php

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 7

php-jsonlint on CentOS 7 / RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install php-jsonlint

Package downloads require an active GetPageSpeed subscription — one repository for php-jsonlint and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install php-jsonlint on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the php-jsonlint package with your system package manager.

Which Enterprise Linux versions is php-jsonlint available for?

php-jsonlint is available for RHEL 7.

Subscribe