moneta-sdk-php v2.0.0

This commit is contained in:
2025-02-24 22:31:15 +03:00
commit 7a455450ce
16 changed files with 1443 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
function monetaSdkAutoloader() {
$file_map = array(
'MonetaSdk.php',
'MonetaSdkException.php',
'MonetaSdkReceipt.php',
'MonetaSdkService.php',
'MonetaSdkService.php',
'MonetaSdkSettings.php'
);
$vendorDir = __DIR__ . "/src/";
foreach ($file_map as $one_file) {
$filepath = $vendorDir . $one_file;
require_once($filepath);
}
}
spl_autoload_register('monetaSdkAutoloader');