Este proyecto de codeigniter incluye la librería xlsxwriter, las ventajas son la base de php para generar los reportes, solo configuras las variables en el controlador y el reporte se genera conforme a los valores:

$fecha_hoy=date('d-m-Y');
$ruta_descarga = 'C:/tmp/xlsx/SC/';//no olvides el / del final
$nombre_carpeta_a_descargar = 'FOLDER';

$datos_reporte_serializado = FALSE; //CACHE SERIALIZADO (NO ALMACENAR MAS DE 100 MIL REGS)
$descarga_nav = FALSE; //ESTO HABILITA O DESHABILITA LA DESCARGA

$bd = "TU_BASEDEDATOS";
$tabla = "TU_TABLAOVISTA";

//WHERE
$wheres = "";

$prefijo_reportes_archivos = "Nombre del Reporte ";
$momento = "{$fecha_hoy}";//date("Y-m-d h-i-s"); //AQUI PUEDES AGREGAR MAS DETALLES DE LA HORA
$autorxlsx = 'DANIEL GUZMÁN';
$compañiaxlsx = 'COMPAÑIA CORP.';
$descripcionxlsx = '';
$registros_por_excel = 500000; //reducir si el excel se corrompe

Features

  • Configura, ejecuta y recibe tu reporte

Project Activity

See All Activity >

Follow XlsxIgniter

XlsxIgniter Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of XlsxIgniter!

Additional Project Details

Registered

2018-09-18