2017 © Pedro Peláez
 

library laravel-phpexcel

PHPOffice PHPExcel wrapper

image

chiabit/laravel-phpexcel

PHPOffice PHPExcel wrapper

  • Sunday, December 7, 2014
  • by albertajuelo
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHPExcel Wrapper for Laravel 4

Installation

1) Require package via composer.json, (*1)

"rozklad/laravel-phpexcel": "dev-master"

2) Run composer update, (*2)

$ composer update

3) Open app/config/app.php and add ServiceProvider to 'providers' array, (*3)

'Rozklad\PHPExcel\ServiceProvider',

4) Optionally add to aliases, (*4)

'Excel'           => 'Rozklad\PHPExcel\Facade',

Usage

Create Excel xls file from array, (*5)

Excel::fromArray( array(
    array('1', '2', '3'),
    array('X', 'Y', 'Z')
) )->save( base_path() . '/sample.xls' );

Create Excel xlsx file from array, (*6)

Excel::fromArray( array(
    array('Hello', 'World', '!!!'),
    array('X', 'Y', 'Z')
) )->save( base_path() . '/sample.xlsx' );

Create array from Excel file, (*7)

Excel::excel2Array( base_path() . '/sample.xls' );

License

MIT license, (*8)

The Versions

07/12 2014

dev-master

9999999-dev

PHPOffice PHPExcel wrapper

  Sources   Download

The Requires

 

laravel excel xls xlsx phpexcel

07/12 2014

dev-dev-master

dev-dev-master

PHPOffice PHPExcel wrapper

  Sources   Download

The Requires

 

laravel excel xls xlsx phpexcel