Download the PHP package occulo/gendiff without Composer
On this page you can find all versions of the php package occulo/gendiff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download occulo/gendiff
More information about occulo/gendiff
Files in occulo/gendiff
Download occulo/gendiff
More information about occulo/gendiff
Files in occulo/gendiff
Vendor occulo
Package gendiff
Short Description A PHP-based diff generator for files
License MIT
Homepage https://github.com/occulo/gendiff
Package gendiff
Short Description A PHP-based diff generator for files
License MIT
Homepage https://github.com/occulo/gendiff
Please rate this library. Is it a good library?
Informations about the package gendiff
Gendiff
Description
Gendiff is a CLI tool and library for generating differences between two configuration files. Supports multiple output formats: stylish, plain, and JSON.
Prerequisites
- Linux, MacOS, WSL
- PHP >=8.3
- Composer >=2.0
- Git
- Make
Installation
Composer (recommended)
If you use Composer, you can install the package locally with the following command:
Or globally:
Source
If you wish to install from source, run:
This will clone the repository to your machine and install all required Composer dependencies.
Supported Formats
Gendiff can compare configuration files in the following formats:
- JSON (
.json) - YAML (
.yaml,.yml)
Usage
Demo
Input files
file1.json
file2.json
Stylish format
Plain format
JSON format
All versions of gendiff with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
docopt/docopt Version ^1.0
symfony/yaml Version ^7.4
funct/funct Version ^1.6
docopt/docopt Version ^1.0
symfony/yaml Version ^7.4
funct/funct Version ^1.6
The package occulo/gendiff contains the following files
Loading the files please wait ...