Laravel Export Builder
Export Excel, CSV & PDF with one API.
11 followers
Export Excel, CSV & PDF with one API.
11 followers
An open-source Laravel package for building Excel, CSV, and PDF exports from a single definition with filters, relationships, queues, permissions, and high-performance streaming.

The relationship handling is genuinely nice, saves me from writing the same joins in three different export scripts. Streaming performance looks solid too.
@fahrettinbouqf Thank you! That was exactly the experience I wanted to create. Defining relationships once and reusing them across every export format helps keep export logic clean and maintainable. I'm also glad the streaming performance met your expectations, since handling large datasets efficiently was one of the package's main design goals. Really appreciate your feedback! 🚀
This looks genuinely useful for anyone dealing with complex Laravel exports. One thing that would make it even better is built-in support for custom Excel styling and number formats directly in the definition, so you don't have to drop down to raw PhpSpreadsheet calls every time you need things like currency formatting or conditional row colors.
@bulenttans35191 Thank you! I really appreciate the suggestion. My goal has always been to keep the export definition as expressive as possible while hiding the underlying complexity. Built-in styling and number formatting are definitely features I'd like to add, allowing developers to stay within the same fluent API instead of dropping down to PhpSpreadsheet for common formatting tasks. Thanks for sharing the idea! 🚀
Honestly been waiting for something like this, the single definition for excel csv and pdf is basically the cleanest approach I've seen. Streaming works great on a 200k row table without choking memory.
@enolzlenwsx3 Thank you! I really appreciate that. The single-definition approach was the core idea behind Export Builder—I wanted developers to define an export once and reuse it across multiple formats without duplicating logic. I'm also happy to hear the streaming performed well with a large dataset, since handling big exports efficiently was one of the package's main priorities. Thanks for your feedback! 🚀
Love how this unifies Excel, CSV, and PDF from one definition. One thing I'd find super useful is a built-in diff/changelog view for exported data so users can see what changed between runs, especially helpful for audit-heavy teams.
@ouzhanwebe6kif Thank you! Keeping a single export definition across multiple formats was one of the main goals of the package, so I'm glad that stood out. I also like your idea about a diff/changelog view for exports—especially for audit and reporting workflows. It's not on the roadmap yet, but it's definitely an interesting feature to explore. Thanks for the suggestion! 🚀
the queue support is what sold me on this, exports were killing my server before honestly. works nicely with relationships too
@kaanvaex Thank you! That's exactly one of the problems I wanted to solve. Large exports shouldn't impact the user experience or overwhelm the server, so queue support was a core feature from the beginning. I'm glad the relationship handling is working well for you too. Really appreciate your feedback! 🚀
would love to see built-in support for exporting selected columns only, so users can pick exactly which fields to include instead of grabbing everything. that kind of flexibility would make this really shine for custom reports
@cumatfcj Thanks! You'll be happy to know this is already supported. 🎉 You can pass a columns array with your export request to choose exactly which fields to include, making it easy to build custom reports without creating separate export definitions. I appreciate the suggestion—it confirms we're solving a real need!