PHP code example of soluble / php_excel_dev

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

    

soluble / php_excel_dev example snippets

sh
sudo apt-get install php-dev
sh
wget -qO- https://github.com/iliaal/php_excel/archive/php7.tar.gz | tar zxvf - --directory /tmp
sh
> echo "extension=excel.so" > /tmp/excel.ini;
> sudo cp /tmp/excel.ini /etc/php/php7.3/mods-available/excel.ini; 
> sudo phpenmod -v 7.3 excel;
>