bennybian / laravelphpword by cccc

An eloquent way of write and read Word in Laravel 4 with the power of PHPWord
13
0
2
Package Data
Maintainer Username: cccc
Maintainer Contact: bzh99@hotmail.com (Benny Bian)
Package Create Date: 2017-06-16
Package Last Update: 2017-06-22
Language: PHP
License: LGPL
Last Refreshed: 2024-04-26 03:06:40
Package Statistics
Total Downloads: 13
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel PHP Word v1.0

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!