Download the PHP package datatable/core without Composer
On this page you can find all versions of the php package datatable/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package core
The DataTable Library
Represents in-memory table data such as:
- Database tables
- Database result sets
- CSV files
- Excel files
- Data grids
- ... etc
Why use the DataTable library?
- Do you need to import end-user data from different formats into your system?
- Do you need to export data from your system into different formats?
- Did you ever import csv data into a database, then import from excel, yaml, xml, etc?
- Did you ever export data from a database into csv, then export to excel, yaml, xml, pdf, etc?
This is where a "DataTable" comes in. It sits in between your importers, exporters and your application data.
It allows you to write really awesome:
- Importers, based on DataTables
- Exporters, based on DataTables
If you write your importer based on a DataTable (instead of .csv, .xls, .yaml, etc directly), then you can write your importer once, and support all import formats that DataTable supports.
If you write your exporter based on a DataTable (instead of .csv, .xls, .yaml, etc directly), then you can write your exporter once, and support all export formats that DataTable supports.
How to load data into a Table from code:
How to read data from code:
How to use the readers and writers for importing/exporting data
As you can see, the DataTable\Core\Table
object is used to load, and then export data.
If you need to export data from your system into different formats, then all you need to do is
- Load the data from your system into a DataTable
- Use one of the many Writers to export the data into different formats
If you need to import data into your system from diffent formats, then all you need to do is:
- Use one of the many Readers to import the data from any supported format into a DataTable
- Write an importer for data from a DataTable into your system