Skip to content

scan.php #4

Description

@AntoninSlejska

Hello,
the scan.php (Ch. 4) did not work by me. I had to change the code as following:

<?php
require 'vendor/autoload.php';
use League\Csv\Reader;
$client = new \GuzzleHttp\Client();
$csv = Reader::createFromPath($argv[1]);
...

Cheers,
Antonin

Activity

  1. bleen commented on May 22, 2015

    @bleen

    I saw the same ... to fix I just changed to this:

    $csv = \League\Csv\Reader::createFromPath($argv[1]);
  2. zhangyongyu commented on Feb 20, 2016

    @zhangyongyu

    Thank you @bleen !

  3. igithub14 commented on Oct 20, 2017

    @igithub14

    Thank you @AntoninSlejska

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions