PHP code example of empathy-php / litecore

1. Go to this page and download the library: Download empathy-php/litecore 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/ */

    

empathy-php / litecore example snippets


foreach (glob ('ext/php_*.dll') as $ext)
	if (!extension_loaded (substr (basename ($ext), 4, -4)))
		load_extension ($ext);

composer 
json
{
    "scripts": {
        "empathy-run": "vendor/empathy-php/litecore/empathy.exe vendor/empathy-php/core/script.php"
    }
}