Cannot figure out How run box\Spout with Windows Subsystem for Linux and composer

482 Views Asked by At

I have installed apache2, and php 7.3 sucefully and composer as well, However the apache2 error.log throws this error:

[php7:error] [pid 24562] [client ::1:60764] PHP Fatal error: Uncaught Error: Class 'Box\Spout\Writer\Common\Creator\WriterEntityFactory' not found in /mnt/c/Users/Admin/Documents/server/index.php:5\nStack trace:\n#0 {main}\n thrown in /mnt/c/Users/Admin/Documents/server/index.php on line 5

I have followed this tutorial from codecamp to install everything I need in order to test box/spout as a posible solution to create heavy data files with php.

I hope someone can help me on this I have done some research on internet but I cant find anything that helps.

Thanks in advice.

1

There are 1 best solutions below

0
On

Turns on that I forget to include autoloader.php