Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miksdigital/importcsv

SF2-3 import CSV file into sqlite database
https://github.com/miksdigital/importcsv

csv-import symfony symfony2 symfony3

Last synced: about 1 month ago
JSON representation

SF2-3 import CSV file into sqlite database

Awesome Lists containing this project

README

        

Read CSV file and write data to sqlite DB
========================

Followed by https://www.codereviewvideos.com/course/how-to-import-a-csv-in-symfony tutorial

* [**How To Import A CSV in Symfony**][1] - Video tutorial how to deal with csv with Symfony command line

What's inside?
--------------
* sqlite data storage
* Symfony command line application
* Uses league/csv library from http://csv.thephpleague.com/
(
composer require league/csv
use League\Csv\Reader;
)

The Symfony Standard Edition is configured with the following defaults:

1. php bin/console doctrine:database:drop --force
&& php bin/console doctrine:database:create
&& php bin/console doctrine:schema:update --force
2. php bin/console csv:import

* [**How To Import A CSV in Symfony**][1] - Code Review Videos