how to add PHPExcel library in laravel?
i want to create new module in laravel which include PHPExcel library. where to put library. how to access it. i have put the PHPExcel library at below location laravel\project\application\libraries\PHPEXCEL it give me error PHP Fatal error: Class 'PHPExcel' not found. You can use the PHPExcel Composer package . Just add "phpoffice/phpexcel": "dev-master" to your composer.json and enter composer update . This way the library will be "installed" and you can use it as normal (for example $objPHPExcel = new PHPExcel(); ) No need for manual includes etc. Update may 2016 Instead of editing your