News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

RegDeveloper.co.uk:
Build your PDF and Excel reports with PHP
December 19, 2007 @ 14:33:00

On the RegDeveloper website, there's a new tutorial posted that covers the creation of both PDF files and Excel reports from inside of PHP (with the help of the Spreadsheet_Excel_Writer PEAR component and the ClibPDF PHP Library (bundled with PHP 5.3).

Given the prevelance of PHP, Excel and PDF it's fortunate there exists class libraries for the generation of PDF documents and Excel spreadsheets using PHP.

They start with the PDF generation and show the installation process for ClibPDF and an example of creating a document on the fly. Their example sets up a title, some content text and a table of information. Creating the Excel spreadsheet is even simpler with the Spreadsheet_Excel_Writer - installation via a PEAR channel and defining the worksheet, fonts and content are quick and easy function calls.

0 comments voice your opinion now!
developer pdf excel pecl component pear spreadsheetexcelwriter clibpdf developer pdf excel pecl component pear spreadsheetexcelwriter clibpdf


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend Framework's MVC Introduces the ViewRenderer

Zend Developer Zone: Code is Beautiful

Andrei Zmievski's Blog: "PHP Eats Rails for Breakfast"

PEAR Blog: Fixing "unsupported protocol"

Community News: Latest PECL Releases for 01.01.2008


Community Events





Don't see your event here?
Let us know!


configure interview refactor framework opinion code testing developer release series list laravel unittest wordpress install language podcast community introduction threedevsandamaybe

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework