PHP code example of cacing69 / uxcel
1. Go to this page and download the library: Download cacing69/uxcel 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/ */
cacing69 / uxcel example snippets
# When installed via composer
# Load Uxcel own autoloader
// use the factory to create a Uxcel instance
$uxcel = new Uxcel\Factory();
// set target file to unprotect
$target = "/path/to/file.xlsx";
$uxcel->setTarget($target);
// set destination to save result
$destination = "/path/to/destination";
$uxcel->setDestination($destination);
// lets process unprotect excel
$unprotect = $uxcel->unProtect(); // it will return uxcel instance