Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/miksdigital/importcsv
- Owner: MikSDigital
- License: mit
- Created: 2017-05-01T15:22:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-01T16:25:55.000Z (over 7 years ago)
- Last Synced: 2024-10-13T06:04:12.091Z (about 1 month ago)
- Topics: csv-import, symfony, symfony2, symfony3
- Language: PHP
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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