Read word file in laravel 5.3

0

I have a problem reading a Word file in laravel, the situation is as follows:

I have a form where a person adds a word file into an input type file field. I want to get the text of this word, separate it into a variable to later write to the bank. Is this possible?

    
asked by anonymous 28.11.2016 / 15:45

1 answer

1

You can use the PHPWord library to do this. You just have to install it via Composer and use it together with Laravel (there are better installation and usage instructions in the library link).

Following usage examples:

28.11.2016 / 16:23