Download the PHP package yulia633/hexlet-project-2 without Composer
On this page you can find all versions of the php package yulia633/hexlet-project-2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package hexlet-project-2
Hexlet tests and linter status:
CLI Differences Files Hexlet
Второй проект из четырёх, в рамках профессии PHP-программист на Хекслет.
Описание проекта
В рамках данного проекта необходимо реализовать утилиту для поиска отличий в конфигурационных файлах.
Возможности утилиты:
Пример использования:
CLI приложение:
$ gendiff [--format <fmt>] <pathToFile1> <pathTofile2>
Посмотреть описание в командной строке:
$ gendiff -h
$ gendiff --help
Библиотека:
use function Differ\Differ\genDiff;
genDiff($pathToFile1, $pathTofile2, $format = 'stylish');
Установка
Для глобальной установки выполните команду:
$ composer global require yulia633/hexlet-project-2
Для установки в проект как библиотеку выполните команду:
$ composer require yulia633/hexlet-project-2
Для разработки
- PHP >=7.4
- Composer
Команды
Как работает пакет
Сравнение файлов json и yaml/yml в формате по умолчанию stylish
Сравнение файлов json и yaml/yml в формате stylish
Сравнение файлов json/yaml в формате plain
Сравнение файлов json/yaml в формате json
Пример работы с запуском из локального окружения
All versions of hexlet-project-2 with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.3
docopt/docopt Version ^1.0
symfony/yaml Version ^5.2
funct/funct Version ^1.5
docopt/docopt Version ^1.0
symfony/yaml Version ^5.2
funct/funct Version ^1.5
The package yulia633/hexlet-project-2 contains the following files
Loading the files please wait ....