Skip to content

Releases: rap2hpoutre/fast-excel

v2.0.0

16 Jun 11:36
4efcca6
Compare
Choose a tag to compare
feat: add format for int and float (#166)

v1.7.0

20 Feb 11:04
be62e7e
Compare
Choose a tag to compare
Add illuminate/support 7 support, illuminate/database as require-dev …

v1.6

20 Feb 11:03
be62e7e
Compare
Choose a tag to compare
Add illuminate/support 7 support, illuminate/database as require-dev …

v1.6.1: throw exception when using unsupported data (#139)

23 Dec 07:58
Compare
Choose a tag to compare
* throw exception on bad data

* remove null $value from test

1.6.0: add support for callback when using generator (#138)

23 Dec 07:54
Compare
Choose a tag to compare
* Update README.md

* add support for callback when using generator

v1.5.0

03 Dec 21:00
Compare
Choose a tag to compare
add support for array as input (#137)

v1.4.0: add configure callbacks for Spout reader and writer (#136)

03 Dec 20:50
Compare
Choose a tag to compare
* add configure callbacks for Spout reader and writer

* style fixes

v1.3.2: add null check for first_row in writeHeader (#135)

03 Dec 20:40
Compare
Choose a tag to compare
* add null check for first_row in writeHeader

* style fix

v1.3.1: support laravel 6 (#118)

04 Sep 09:46
d45e1c3
Compare
Choose a tag to compare
* support laravel 6

* Update composer.json

v1.3.0 - generators

30 Aug 08:44
bb61f5c
Compare
Choose a tag to compare

Introducing generators

Export rows one by one on large dataset to avoid memory_limit problem, thanks to generators (using yield and yield from).

function usersGenerator() {
    yield from User::chunk(200, function($users) {
        foreach($users as $user) {
            yield $user;
        }
    });
}

// Export consumes only a few MB, even with 10M+ rows.
(new FastExcel(usersGenerator()))->export('test.xlsx');