spreadsheet-reader | PHP spreadsheet reader | Data Visualization library

 by   nuovo PHP Version: Current License: Non-SPDX

kandi X-RAY | spreadsheet-reader Summary

kandi X-RAY | spreadsheet-reader Summary

spreadsheet-reader is a PHP library typically used in Analytics, Data Visualization applications. spreadsheet-reader has no bugs, it has no vulnerabilities and it has low support. However spreadsheet-reader has a Non-SPDX License. You can download it from GitHub.

spreadsheet-reader is a PHP spreadsheet reader that differs from others in that the main goal for it was efficient data extraction that could handle large (as in really large) files. So far it may not definitely be CPU, time or I/O-efficient but at least it won't run out of memory (except maybe for XLS files). So far XLSX, ODS and text/CSV file parsing should be memory-efficient. XLS file parsing is done with php-excel-reader from which, sadly, has memory issues with bigger spreadsheets, as it reads the data all at once and keeps it all in memory.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              spreadsheet-reader has a low active ecosystem.
              It has 627 star(s) with 454 fork(s). There are 55 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 61 open issues and 35 have been closed. On average issues are closed in 170 days. There are 26 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of spreadsheet-reader is current.

            kandi-Quality Quality

              spreadsheet-reader has 0 bugs and 0 code smells.

            kandi-Security Security

              spreadsheet-reader has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              spreadsheet-reader code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              spreadsheet-reader has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              spreadsheet-reader releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              spreadsheet-reader saves you 1399 person hours of effort in developing the same functionality from scratch.
              It has 3130 lines of code, 128 functions and 7 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed spreadsheet-reader and discovered the below as its top functions. This is intended to give you an instant insight into spreadsheet-reader implemented functionality, and help decide if they suit your requirements.
            • Format a value .
            • Returns a shared string
            • read data from file
            • Returns the next row
            • get work book data
            • Seek to a specific position
            • Load the given type .
            • Changes the sheet at a specific position .
            • Returns the current row
            • Returns the number of elements in this collection
            Get all kandi verified functions for this library.

            spreadsheet-reader Key Features

            No Key Features are available at this moment for spreadsheet-reader.

            spreadsheet-reader Examples and Code Snippets

            No Code Snippets are available at this moment for spreadsheet-reader.

            Community Discussions

            QUESTION

            Service Account for google sheets returns not found
            Asked 2019-Mar-22 at 05:28

            I am trying to read a spreadsheet using a service account (I cannot use OAuth, which works, since the process will be running on a server to periodically check sheet data)

            I tried several approaches. If I follow the example using oauth I can see the sheet values. However, I need the run the script without any GUI on the background.

            I have found this tutorial https://github.com/juampynr/google-spreadsheet-reader I have created a projec, service account, added viewer role, shared the spreadsheet with the service account email. Generated the key. It seems that the test program can connect to the google services but the moment it request the spreadsheet the end result is "404 not found".

            ...

            ANSWER

            Answered 2019-Mar-22 at 05:28
            • When the access token retrieved by OAuth2 is used, the Spreadsheet of $spreadsheet_id = '1TAWybckPrnWlQxBZh0ScDsFOvftwi2dvTBNGarSdY30'; can retrieve the values.
            • When the access token retrieved by Service Account is used, Error 404 (Not Found)!!1 is returned.

            If my understanding is correct, please confirm the following points.

            Confirmation points:
            1. As a test run, please set the range $spreadsheet_range = '';.
              • For example, it's $spreadsheet_range = 'Sheet1'.
            2. If the error message of The caller does not have permission is returned, please confirm as follows.
              • Whether the Spreadsheet of 1TAWybckPrnWlQxBZh0ScDsFOvftwi2dvTBNGarSdY30 is sharing the email of Service Account.
              • If you didn't share the Service Account to the Spreadsheet, please share the email of client_email in the file of readsheetmar2019-08b737d1c1cb._portfolio_test.json to the Spreadsheet you want to access.
            3. If the error message of Google Sheets API has not been used in project ### before or it is disabled. is returned, please enable Sheets API.

            If this was not the solution for your issue, I apologize.

            Source https://stackoverflow.com/questions/55213638

            QUESTION

            Reading Images from Excel
            Asked 2019-Feb-24 at 12:17

            I am using this PHP code : https://github.com/nuovo/spreadsheet-reader

            I am able to successfully fetch data using the given examples. However, there are images in some cells which also need to be shown as HTML or saved on to file. How to read the images from the excel file?

            ...

            ANSWER

            Answered 2019-Feb-24 at 12:17

            QUESTION

            Install unstable fork
            Asked 2018-Jul-19 at 10:17

            I maintain a project that uses an abandoned library with a bug that affects me. I'd like to install a fork that includes the bugfix. I can't find the way.

            Relevant settings were this:

            ...

            ANSWER

            Answered 2018-Jul-19 at 10:17

            You're using incorrect package name - in your fork package is named as virtua-network/spreadsheet-reader, but you're requesting nuovo/spreadsheet-reader. So your fork is not considered as a nuovo/spreadsheet-reader package, but as a virtua-network/spreadsheet-reader, so original package from Packagist is used. You should either revert name change in composer.json of your fork and leave it as nuovo/spreadsheet-reader, or use new name in require of composer.json in your app:

            Source https://stackoverflow.com/questions/51419584

            QUESTION

            Insert variable into MySQL DB table
            Asked 2018-Jul-18 at 07:42

            I'm following this tutorial: https://itsolutionstuff.com/post/php-import-excel-file-into-mysql-database-tutorialexample.html

            It uses this library: https://github.com/nuovo/spreadsheet-reader

            Most of the code seems to work. I've created a page where you can select a file from your computer and "upload" it. We then create a table of the data in the file on our page.

            The problem is at the last and most important function: importing the data to the local MySQL database.

            My connection looks like this:

            ...

            ANSWER

            Answered 2018-Jul-18 at 07:21

            I think your column name (Account Number) is in two words, so try with backquotes around non-conformant field names like below and change your condition ($ok = 1) with ($ok == 1)

            Source https://stackoverflow.com/questions/51395813

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install spreadsheet-reader

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/nuovo/spreadsheet-reader.git

          • CLI

            gh repo clone nuovo/spreadsheet-reader

          • sshUrl

            git@github.com:nuovo/spreadsheet-reader.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link