PHP code example of lion / spreadsheet

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

    

lion / spreadsheet example snippets




use Lion\Spreadsheet\Spreadsheet;

$spreadsheet = new Spreadsheet();

$spreadsheet>load('file.xlsx');

$spreadsheet->setCell('A2', 'value');

$spreadsheet->save();