PHP code example of kraenzle-ritter / spreadsheet-inspect

1. Go to this page and download the library: Download kraenzle-ritter/spreadsheet-inspect 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/ */

    

kraenzle-ritter / spreadsheet-inspect example snippets

bash
php inspect spreadsheet myfile.xlsx --sheets
bash
php inspect spreadsheet myfile.xlsx --sheet=1 --images
bash
php inspect spreadsheet myfile.xlsx --sheet=1 --extract-images=./images
bash
php inspect spreadsheet myfile.xlsx --sheet=1 --column=ProductID
bash
php inspect spreadsheet myfile.xlsx --sheet=1 --column=ProductID --cross-sheet=2
bash
php inspect spreadsheet myfile.xlsx --sheet=1 --column=ProductID --target-column=ID
bash
php inspect spreadsheet myfile.xlsx --sheet=1 --output=html --output-file=report.html
bash
php inspect spreadsheet myfile.xlsx --sheet=1 --output=pdf --output-file=report.pdf