Mindblown: a blog about philosophy.
-
Create Excel Files In PHP Using PHPSpreadSheet
Create an xlsx file with a simple “Hellow Word !” example. Requirements: Composer PHP 7.2 or newer Step 1. Setup dependencies. { “require”: { “phpoffice/phpspreadsheet”: “^1.3” } } composer.json Step 2. Install phpspreadsheet. $ composer install command line Step 3. Create a new PHP file, and start coding. <?php // Autoload dependencies require ‘vendor/autoload.php’; // […]
-
Install PhpSpreadsheet
Read and write different spreadsheet file formats using the pure PHP library PhpSpreadsheet. Requirements: Composer PHP 7.2 or newer Simply require PhpSpreadsheet into your composer.json file to install it. Other required extensions like the ext-gd and ext-mbstring can be found on the require section file on this link. Step 1. Setup dependencies. { “require”: { […]
Got any book recommendations?