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
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Try 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