1. Go to this page and download the library: Download wp-php-toolkit/svn library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wp-php-toolkit / svn example snippets
WordPress\Svn\SvnClient;
$client = new SvnClient();
$result = $client->checkout(
'https://plugins.svn.wordpress.org/hello-dolly/trunk',
'/tmp/hello-dolly'
);
echo "checked out r{$result['revision']}\n";
echo file_get_contents( '/tmp/hello-dolly/hello.php' );