Using PHPExcel 1.8.0 on Yii2

I have a problem using PHPExcel 1.8.0 with Yii2

This far, I have implemented the solution described in

So, at this moment, I can use PHPExcel by adding a \ before calling the class;

$objPHPExcel = new PHPExcel();

However, I can’t get the content assist from eclipse working when I press ctrl+space.

For example when I’m tryng to type


if I press ctrl+space after “$objPHPExcel->” I don’t get any suggestions, probably meaning that content assist can’t see further into PHPExcel, as he sees other extensions;

Does anyone know how to sort this out?

It’s perfectly valid PHP so I guess IDE is a bit outdated.

  1. Try updating PDO (or whatever PHP implementation is up-to-date now).

  2. Try switching to NetBeans or PhpStorm. These could handle it well.