2017 © Pedro Peláez
 

project csvimport

Simple csv import to mysql database

image

smetdenis/csvimport

Simple csv import to mysql database

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Cli Import tool for big CSV files Build Status Coverage Status

License Latest Stable Version Scrutinizer Code Quality, (*1)

Preview, (*2)

How to install

composer create-project smetdenis/csvimport:1.x-dev --no-dev
./csvimport/bin/csvimport help

How to run

From file, (*3)

./bin/csvimport csv:insert                      \
    --config=./tests/fixtures/config.php        \
    --source-file=./tests/fixtures/random.csv   \
    -vvv

Or pipeline, (*4)

cat ./tests/fixtures/random.csv | ./bin/csvimport csv:insert    \
    --config=./tests/fixtures/config.php                        \
    -vvv

Unit tests and check code style

# prepare dev build
make

# Run all unit tests
make test-all

# Run tests manually
./bin/csvimport csv:create                  \ 
    --config=./tests/fixtures/config.php    \
    --lines=10000                           \
|                                           \
./bin/csvimport csv:insert                  \
    --config=./tests/fixtures/config.php    \
    -vvv

License

MIT, (*5)

The Versions

01/12 2016

dev-master

9999999-dev

Simple csv import to mysql database

  Sources   Download

MIT

The Requires

 

The Development Requires

csv mysql import

01/12 2016

0.1

0.1.0.0

Simple csv import to mysql database

  Sources   Download

MIT

The Requires

 

The Development Requires

csv mysql import