I have installed a library using composer.json https://github.com/nuovo/spreadsheet-reader
Now in vendor I'm getting a folder structure like:
Now I want to use excel_reader2.php class inside my controller.
and I'm using it like:
use nuovo\spreadsheet-reader\php-excel-reader\excel_reader2; use nuovo\spreadsheet-reader\SpreadsheetReader;
but it is giving me fatal error
Parse error: syntax error, unexpected '-', expecting ',' or ';'
Is there any way to use folders containing '-' (dash) in their names?