Upgrading to 1.0

This describes how to upgrade to PortPHP 1.0 from ddeboer/data-import 0.20.0.

General

  • The single ddeboer/data-import repository was split into several packages to improve separation of concerns and dependency management.
  • The namespace changed from Ddeboer\DataImport\ to Port\.

Workflow

  • The Workflow class became an interface.
  • The default workflow implementation is the StepAggregator.

Readers

  • The Reader::getFields() method was removed.
  • For CSV reading, you now need the port/csv package: $ composer require port/csv. See the docs for more information.
  • For Excel reading, you now need the port/excel package: $ composer require port/excel. See the docs for more information.

Writers

  • For CSV reading, you now need the port/csv package: $ composer require port/csv. See the docs for more information.
  • For Excel reading, you now need the port/excel package: $ composer require port/excel. See the docs for more information.

Converters

  • All item converters (MappingItemConverter, NestedMappingItemConverter, CallbackItemConverter) were removed.

Filters

  • CallbackFilter was removed.