pxgamer / diffchecker
An object oriented class for the DiffChecker tool.
Fund package maintenance!
owenvoke
ecologi.com/owenvoke?gift-trees
Requires
- php: ^7.1
- symfony/console: ^3.2
Requires (Dev)
- phpunit/phpunit: ^6.4
- squizlabs/php_codesniffer: ^3.1
This package is auto-updated.
Last update: 2024-10-21 20:51:51 UTC
README
An object oriented class for the DiffChecker tool.
Structure
bin/
src/
tests/
vendor/
Install
Via Composer
$ composer require pxgamer/diffchecker-php
Usage
diffchecker list
These classes utilise the DiffChecker API. In order to use this, you will require an account (Sign up here).
pxgamer\DiffChecker\Config
::BASE_URL
(The main website URL for DiffChecker, this is used when returning links to the created Diff.)::API_URL
(The API URL for DiffChecker, this is used in the API calls.)
pxgamer\DiffChecker\Command\Authorise
configure()
(This is used by Symfony console)execute()
(This is used by Symfony console)::authorise($email, $password)
(This is the static authorisation function used to retrieve an access token.)
pxgamer\DiffChecker\Command\DiffChecker
configure()
(This is used by Symfony console)execute()
(This is used by Symfony console)::diff($file_1, $file_2, $expires = 'forever')
(This is the static diff function used to create a new Diff between 2 files.)
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.