bennybian / laravelphpword
An eloquent way of write and read Word in Laravel 4 with the power of PHPWord
Requires
- php: >=5.3.0
- phpoffice/phpword: v0.13.*
This package is auto-updated.
Last update: 2024-11-09 15:31:31 UTC
README
Laravel PHP brings the power of PHPOffice's PHPWord https://github.com/PHPOffice/PHPWord to Laravel 4. It includes features like: ...
#Installation
Require this package in your composer.json
and update composer. This will download the package and PHPExcel of PHPOffice.
"maatwebsite/excel": "~1.3.0"
After updating composer, add the ServiceProvider to the providers array in app/config/app.php
'Maatwebsite\Excel\ExcelServiceProvider',
You can use the facade for shorter code. Add this to your aliases:
'Excel' => 'Maatwebsite\Excel\Facades\Excel',
The class is bound to the ioC as excel
$excel = App::make('excel');
License
This package is licensed under LGPL. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!