Write a PHP script to repeatedly import a number of CSV files into a relational database.

Completed Posted 3 years ago Paid on delivery
Completed Paid on delivery

I have around 50 .CSV files which are exported daily (automatically sent to remote FTP server) from a proprietary CRM/billing system.

I do not have access to the database used for the CRM, only the exported .CSVs. Because of the difficulty in working with CSV files, I wish to convert the flat files to a relational database by running a script against the exported .CSV files every day.

Each CSV file is already roughly equivalent to a the desired table in the relational database, for example "[login to view URL]", "[login to view URL]" and "[login to view URL]". Within the .CSVs the data is structured using primary and foreign keys, with one record per row.

The structure of the .CSVs (columns etc.) does not change, but each time the .CSV files are generated they will contain all records to date i.e additional rows. Most files are 1-2MB in size but the largest is 600MB.

A sample dataset will be provided with rows limited to sample data only.

The brief for this project is to generate a script/scripts in PHP that will import all data from the CSV files into a mysql/mariadb database, using appropriate column data types, relationships, and other best practices in database design.

PHP MySQL SQL Relational Databases

Project ID: #28351159

About the project

14 proposals Remote project Active 3 years ago

Awarded to:

natapataykina02

Hi, there. Glad to see you here. I have read your requirements carefully and notice that's the suitable one for me. Database management such as MySQL is my major skill. I can give you full satisfactory result for you c More

$140 AUD in 7 days
(32 Reviews)
6.2

14 freelancers are bidding on average $202 for this job

coolguyinus2004

PHP/MYSQL/CSV script expert here with 15+ years of experience. 50 csv files with MIN 2MB size and MAX 600MB file i need to see sample of each. 1) I need to develop the database from the csv file headers with foreign ke More

$300 AUD in 7 days
(364 Reviews)
7.8
iglobalvn

Hi sir, i have read your requirement carefully. I can do PHP script that read csv and import to database daily perfectly and exactly without any risk. If you wanna confirm me, please check my work history and portfoli More

$200 AUD in 5 days
(106 Reviews)
7.3
fadata

Hi I have 18 years of software development experience.I can implement a php script to import your files to the db. Lets talk about the details Regards Fatih

$240 AUD in 3 days
(20 Reviews)
6.1
Ggov

Hi I have experience parsing csv files and inserting/updating related tables in relational database tables using php. Thank you for your time and attention. Looking forward to hearing from you. Regards

$180 AUD in 7 days
(8 Reviews)
5.3
dilshadbukhari

Hi I have read the project description carefully and understood. I have extensively experience in Php. I will give you 100% accuracy work. Looking Forward Thank you

$250 AUD in 7 days
(36 Reviews)
5.0
shrushtiponda

Hello There , I have 4.5 years of experience in PHP / MySQL. I have gone through the definition.I have done such works of developing scripts to import data from CSV files. Here you also need the relations while import More

$225 AUD in 6 days
(12 Reviews)
3.5
cre8ivelezend

hello, I checked your description that you entered in your project details you need a (website designer/developer)okay I can do your work with proper in manner I have a 8+ yeas of experiences of this kind of work I did More

$140 AUD in 2 days
(10 Reviews)
3.3
mantsoetoro

Hi, I see you need php program to read the data from .csv file in the hosting and then upload it to database. I can do this because i have experiences develop php program for uploading file and upload it into databas More

$40 AUD in 1 day
(4 Reviews)
2.2
arajat0

Hello, I can create you application with your specification in Node, which can be triggered manually or automatically timebound each day. Will pull files and import all data to MSSQL. Thanks

$150 AUD in 7 days
(1 Review)
1.6
sankarveluturla

I undenrstood ur requirement,I already developed these type of projects daily so work can be done easily and fast .I will convert all .csv files as a database structure without lose of data and I prefer quality. After More

$120 AUD in 3 days
(0 Reviews)
0.0