2017 © Pedro Peláez
 

symfony-bundle csv-bundle

Integration of Goodby CSV into Symfony2

image

intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  • Friday, December 22, 2017
  • by intriro
  • Repository
  • 1 Watchers
  • 2 Stars
  • 5,248 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 9 Versions
  • 75 % Grown

The README.md

IntriroCsvBundle

Latest Stable Version Total Downloads License, (*1)

Provides integration of the goodby/csv library into Symfony., (*2)

About Goodby CSV

Goodby CSV is a high memory efficient flexible and extendable open-source CSV import/export library for PHP., (*3)

Documentation is available here., (*4)

Installation

This bundle can be installed using composer by adding the following in the require section of your composer.json file:, (*5)

{
    "require": {
        "intriro/csv-bundle": "^1.0"
    }
}

Register the bundle

You must register the bundle in your kernel:, (*6)

``` php <?php, (*7)

// app/AppKernel.php, (*8)

public function registerBundles() { $bundles = array(, (*9)

    // ...

    new Intriro\Bundle\CsvBundle\IntriroCsvBundle(),
);

// ...

}, (*10)



Configuration ------------- TODO ## Configuring importers ``` yaml # app/config/config.yml intriro_csv: importers: foo: ~ # uses the default configuration bar: delimiter: "\t" # Customize delimiter. Default value is comma(,) enclosure: "'" # Customize enclosure. Default value is double quotation(") escape: "\\" # Customize escape character. Default value is backslash(\) to_charset: UTF-8 # Customize target encoding. Default value is null, no converting. from_charset: SJIS-win # Customize CSV file encoding. Default value is null.

Importers are ment to get data from a CSV file into your PHP code. The defined importers from the sample configuration are available as services in the container as intriro_csv.importer.foo and intriro_csv.importer.bar., (*11)

The services are instances of Goodby\CSV\Import\Standard\Lexer., (*12)

Configuring exporters

``` yaml, (*13)

app/config/config.yml

intriro_csv: exporters: foo: ~ # uses the default configuration, (*14)

    bar:
        delimiter: "\t"         # Customize delimiter. Default value is comma(,)
        enclosure: "'"          # Customize enclosure. Default value is double quotation(")
        escape: "\\"            # Customize escape character. Default value is backslash(\)
        to_charset: SJIS-win    # Customize target encoding. Default value is null, no converting.
        from_charset: UTF-8     # Customize CSV file encoding. Default value is null.
        file_mode: w            # Customize file mode and choose either write or append. Default value is write ('w'). See fopen() php docs

```, (*15)

The defined exporters from the sample configuration are available as services in the container as intriro_csv.exporter.foo and intriro_csv.exporter.bar., (*16)

The services are instances of Goodby\CSV\Export\Standard\Exporter., (*17)

License

This bundle is released under the MIT license. See the complete license in the bundle:, (*18)

src/Resources/meta/LICENSE

The Versions

22/12 2017

dev-master

9999999-dev https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alsar

csv bundle symfony goodby csv

22/12 2017

v1.0.0

1.0.0.0 https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alsar

csv bundle symfony goodby csv

16/08 2017

dev-revert-4-patch-2

dev-revert-4-patch-2 https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alsar

csv bundle symfony goodby csv

10/12 2016

v0.2.0

0.2.0.0 https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alsar

csv bundle symfony goodby csv

18/08 2015

dev-php-5.6-hotfix

dev-php-5.6-hotfix https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alsar

csv bundle symfony goodby csv

24/05 2015

v0.1.0

0.1.0.0 https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar alsar

csv bundle symfony goodby csv

03/03 2015

v0.0.3

0.0.3.0 https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

by Avatar alsar

csv bundle symfony goodby csv

03/11 2014

v0.0.2

0.0.2.0 https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

by Avatar alsar

csv bundle symfony goodby csv

02/11 2014

v0.0.1

0.0.1.0 https://github.com/intriro/csv-bundle

Integration of Goodby CSV into Symfony2

  Sources   Download

MIT

The Requires

 

by Avatar alsar

csv bundle symfony goodby csv