Download the PHP package midorikocak/tabletools without Composer
On this page you can find all versions of the php package midorikocak/tabletools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download midorikocak/tabletools
More information about midorikocak/tabletools
Files in midorikocak/tabletools
Package tabletools
Short Description In an app you have to deal with tables. This library gives you some handy tools to deal with them.
License MIT
Homepage https://github.com/midorikocak/view
Informations about the package tabletools
Table Tools
In an app you have to deal with tables. This library gives you some handy tools to deal with them.
Install
Via Composer
Usage
You can access and operate 2 dimensional associative data using 3 kind of tables. DatabaseTable
,
ArrayTable
,CsvTable
.
Most common operations with tables are defined in TableInterface
.
DatabaseTable
To use the DatabaseTable
class, inject it with an object that implements midorikocak/nanodb/DatabaseInterface
.
Or a simple PDO wrapper with same methods)
ArrayTable
If your data is already in memory, you can use ArrayTable
.
CsvTable
If you deal with CSV files, you can import the data in a CsvTable
.
Columns
Get only specified columns.
Filter
Filters rows other than with specified value.
Sort
Sort table by specified column.
Search
Search table by value.
Range
Retrieve a range of items.
Paginate
Retrieve a page of items.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Midori Kocak
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of tabletools with dependencies
ext-iconv Version *
ext-json Version *
eftec/bladeone Version ^3.34
league/csv Version ^9.5
midorikocak/arraytools Version ^1.0
midorikocak/nanodb Version ^1.1.3
ext-pdo Version *