Giter Site home page Giter Site logo

rasheedalwahbany / excelreadwrite-phpspreadsheets Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.48 MB

Read Write PHP Spread Sheets Full

License: Apache License 2.0

PHP 7.02% CSS 52.92% JavaScript 40.06%
bootstrap5 composer excel php phpexcel phpspreadsheet

excelreadwrite-phpspreadsheets's Introduction

Excel Read Write (PhpSpreadSheets)

PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc.

PHP version support

Currently the required PHP minimum version is PHP 7.3 or higher.

See the composer.json for other requirements.

Installation

Use composer to install PhpSpreadsheet into your project: <br/> or by cmd:

php -r "readfile('https://getcomposer.org/installer');" | php

<br/>

composer require yidas/phpspreadsheet-helper
composer require phpoffice/phpspreadsheet

If you are building your installation on a development machine that is on a different PHP version to the server where it will be deployed, or if your PHP CLI version is not the same as your run-time such as php-fpm or Apache's mod_php, then you might want to add the following to your composer.json before installing:

{
    "require": {
        "phpoffice/phpspreadsheet": "^1.23"
    },
    "config": {
        "platform": {
            "php": "7.3"
        }
    }
}

and then run

composer install

to ensure that the correct dependencies are retrieved to match your deployment environment.

See CLI vs Application run-time for more details.

Runnig on localhost

php -S localhost:8000

Additional Installation Options

If you want to write to PDF, or to include Charts when you write to HTML or PDF, then you will need to install additional libraries:

Export Data

Export data from MySQL DB into Excel Files.

Import Data

import data from Excel Files into MySQL DB.

Documentation

Read more about it, including install instructions, in the official documentation.

Created using:

            Bootstrap 5.
            PhpOffice\PhpSpreadsheet\Spreadsheet.  
            PhpOffice\PhpSpreadsheet\Writer\Xlsx.  
            Composer.  

PHPExcel vs PhpSpreadsheet ?

PhpSpreadsheet is the next version of PHPExcel. It breaks compatibility to dramatically improve the code base quality (namespaces, PSR compliance, use of latest PHP language features, etc.).

Excel Read Write - Php Spread Sheets

Excel Read Write PHP Spread Sheets Full

excelreadwrite-phpspreadsheets's People

Contributors

rasheedalwahbany avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.