mirror of
https://github.com/Icinga/icinga-php-thirdparty.git
synced 2025-10-27 09:14:19 +01:00
657 B
657 B
Demo
Note that
- All
composer-related commands are run in this project's root directory. That is php-diff directory rather than thisexampledirectory. - You can change differ/renderer options in
demo_base.php. - Change contents of
old_file.txtandnew_file.txtto test different text.
To run demo, you have to first install dependencies via composer install.
Web Environment
To run demo_web.php on your local machine, you can follow steps below.
- Start PHP development server via
composer run-script server. - Visit
http://localhost:12388/demo_web.phpwith a web browser.
Cli Environment
Just run php demo_cli.php.