PHP code example of rasclatt / nubersoft
1. Go to this page and download the library: Download rasclatt/nubersoft 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/ */
rasclatt / nubersoft example snippets
spl_autoload_register(function($class){
# Set the vendor-based namespace-to-path name
# If $class was \Nubersoft\Conversion\Data it would translate to something like:
# /var/www/domains/mydomainroot/vendor/Nubersoft/Conversion/Data.php
$file = str_repace('//', '/', __DIR__.'/vendor/'.str_replace('\\', '/', $class).'.php');
# Include the file
if(is_file($file))