Skip to content

PHP script to load data from CSV files into a database. In pure php, without any framework

License

Notifications You must be signed in to change notification settings

henryh/csv-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV Import

PHP script to load data from CSV files into a database. In pure php, without any framework and third-party libraries. It works only through the console. Tested on PHP 7.4 in Linux.

Intallation

  1. Clone project and go to the app directory:
$ git clone git@github.com:henryh/csvimport.git
$ cd csvimport
  1. Edit MySQL database connection in app/config.php
  2. Run db migration:
$ php dbmigrate.php
  1. Run script:
$ php csvimport.php

More

Project author

MIT license

About

PHP script to load data from CSV files into a database. In pure php, without any framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages