Dump database into csv format.
69
8
3
Package Data
Maintainer Username: howtomakeaturn
Maintainer Contact: howtomakeaturn@hotmail.com (Chuan-Hao, You)
Package Create Date: 2014-11-21
Package Last Update: 2014-12-21
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:26:20
Package Statistics
Total Downloads: 69
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 8
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

CSVDumper

Help you dump database into CSV format, built on Laravel.

Usage

Dump a table and store it into a file

$dumper = new Howtomakeaturn\CSVDumper\CSVDumper($tableName);
$dumper->dumpAndStoreTable($folderPathToStore);

Get a CSV format string of a table

$dumper = new Howtomakeaturn\CSVDumper\CSVDumper($tableName);
$result = $dumper->dumpTable();

Installing

Using Composer:

$ composer require 'howtomakeaturn/csvdumper:1.0.0'

Or via json file:

"require": {
        "howtomakeaturn/csvdumper": "1.0.0"
}