PHPExcel integration into Zend Framework

前端 未结 6 723
忘了有多久
忘了有多久 2021-01-12 12:00

how can I integrate the PHPExcel into my Zend app.

My actual folder structure is the following:

/application
  controllers
  views  
  etc...
/librar         


        
6条回答
  •  鱼传尺愫
    2021-01-12 12:30

    I know it's 2 years since the question is asked but it may help someone; the easiest way ( not the optimal) is to extract the PHPExcel folder in your Public and then just use the old way ex; (in your controller actions):

                    include 'PHPExcel.php';
                    include 'PHPExcel/Writer/Excel2007.php';
    
                    $myobject = new PHPExcel();
    

提交回复
热议问题