Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7943731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:21:25+00:00 2026-06-04T00:21:25+00:00

Looking for a PHP class to generate HUGE xlsx files, without having to allocate

  • 0

Looking for a PHP class to generate HUGE xlsx files, without having to allocate huge memory for the entire file to fit in memory.

We love PHPExcel but need a way to write-on-the-fly, versus loading the entire file in memory, then calling a function to write it.

Seen a similar question, but no clear pointer to a solution.

To clarify –

You have 1GB of available memory and need to generate a 3GB Excel file.

Is there an existing class/method to accomplish this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:21:27+00:00Added an answer on June 4, 2026 at 12:21 am

    Yay!

    We ended up solving this by writing our own PHP Excel class, capable of generating xlsx files of UNLIMITED size, by writing on-the-fly (never loading all data into memory).

    Thank you to everyone who contributed your feedback and ideas! Much appreciated.

    Our class doesn’t have all the bells & whistles phpexcel.codeplex offers. We do support fonts, basic styling and automatic sheet creation when your dataset exceeds 1 million rows.

    Going to clean-up the class and put it on Github for everyone to use. I’ll update this post with the url as soon as it’s available.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a PHP class that can parse an ICalendar (ICS) file
I've been looking around for a php class that allows the decryption / encryption
I'm looking for a good PHP login class via MySQL, and I'm not yet
Looking for simple php class routing, like this: http://fatfree.sourceforge.net/page/routing-engine Is there a ready-made solutions?
I have a PHP class that, upon instantiation, creates a file that is unique
Looking for some Mac software that will enable me to auto-generate PHP classes from
I'm looking for a PHP class that will make it painless to work with
I'm looking for a PHP class that can minify JS and CSS code.
I am looking for following php-function: class foo { } echo get_class_special(foo); // returns
I'm looking for a way to extend a PHP class to add a custom

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.