fast-excel | 🦉 Fast Excel import/export for Laravel | CSV Processing library

 by   rap2hpoutre PHP Version: v5.2.0 License: MIT

kandi X-RAY | fast-excel Summary

kandi X-RAY | fast-excel Summary

fast-excel is a PHP library typically used in Utilities, CSV Processing applications. fast-excel has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Fast Excel import/export for Laravel, thanks to Spout. See benchmarks below.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fast-excel has a medium active ecosystem.
              It has 1836 star(s) with 220 fork(s). There are 31 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 69 open issues and 154 have been closed. On average issues are closed in 101 days. There are 14 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of fast-excel is v5.2.0

            kandi-Quality Quality

              fast-excel has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              fast-excel is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              fast-excel releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              fast-excel saves you 269 person hours of effort in developing the same functionality from scratch.
              It has 728 lines of code, 78 functions and 13 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed fast-excel and discovered the below as its top functions. This is intended to give you an instant insight into fast-excel implemented functionality, and help decide if they suit your requirements.
            • Export the data or a file .
            • Import a sheet
            • Write rows from a collection .
            • Set options .
            • Write rows from the table .
            • Import sheets from file .
            • Create a reader instance .
            • Register the FastExcel class
            • Configure the CSV configuration .
            • Set the sheet .
            Get all kandi verified functions for this library.

            fast-excel Key Features

            No Key Features are available at this moment for fast-excel.

            fast-excel Examples and Code Snippets

            No Code Snippets are available at this moment for fast-excel.

            Community Discussions

            QUESTION

            How to export data of array to excel with each element from an array storing in single row
            Asked 2020-Jan-21 at 17:01

            I am trying to export data to excel using Fast excel. This is easy for straight forward export. However, I have data as follows:

            ...

            ANSWER

            Answered 2020-Jan-21 at 14:18
            public function exportTest() {
            
                    $reviews = DB::table('test_db')->orderBy('name')->get();
            
                    $file_name = 'Review - '.date('Y_m_d').'.xlsx';
            
                    return (new FastExcel($reviews))->download($file_name,function($reviews) {
            
                        foreach ($reviews as $review) {
                            # code...
                            if(!empty($review->multiple_units)) {
            
                                $unit_ids = json_decode($review->multiple_units, true);
            
                                foreach($unit_ids as $uk => $uv){
                                    return [
                                        'Name' => $review->name,
                                        'Units' => $uv
                                    ];
                                }
            
                            }
                        }
            
                    });
                }
            

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install fast-excel

            Export a Model to .xlsx file:.

            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/rap2hpoutre/fast-excel.git

          • CLI

            gh repo clone rap2hpoutre/fast-excel

          • sshUrl

            git@github.com:rap2hpoutre/fast-excel.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