2017 © Pedro Peláez
 

library icf-reader

Reads ICF files

image

slicklabs/icf-reader

Reads ICF files

  • Wednesday, July 4, 2018
  • by slicklabs
  • Repository
  • 2 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 50 % Grown

The README.md

ICFReader

Read file from disk

You can easily read in an ICF-file stored on disk., (*1)

    $reader = new \ICFReader\Reader($filepath);
    $result = $reader->read();

Read data

If you want, you can also parse data from somewhere else than from disk. For easy testing, the below example reads the file contents manually and then processes it., (*2)

    $icf_file = file_get_contents($filepath); // or from somewhere else.

    $reader = new \ICFReader\Reader(''); //requires a filepath parameter, but not required for reading in from data.
    $data = $reader->toArray($icf_file);
    $result = $reader->format($data);

The Versions

04/07 2018

dev-master

9999999-dev https://slicklabs.nl/

Reads ICF files

  Sources   Download

MIT

by Leo Flapper

icf rexel technische unie