Horje
Laravel Excel numbers formatted as text still appearing as number Code Example
Laravel Excel numbers formatted as text still appearing as number

I found a workaround by using setCellValueExplicit()
eg:

$sheet->setColumnFormat(array( //se formatea la columna a texto
    'C' => \PHPExcel_Style_NumberFormat::FORMAT_TEXT,
    'I' => 'dd-mm-yyyy hh:mm'
));

$sheet->setCellValueExplicit('C10', $object->card_number, \PHPExcel_Cell_DataType::TYPE_STRING);

Hope this helps ;)




Php

Related
php modulus Code Example php modulus Code Example
php mail if successful Code Example php mail if successful Code Example
laravel validation image or file Code Example laravel validation image or file Code Example
laravel package for getID3() Code Example laravel package for getID3() Code Example
install phpmyadmin on mac Code Example install phpmyadmin on mac Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8