Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add library into Laravel project #8

Open
sarzali07 opened this issue Feb 20, 2019 · 4 comments
Open

How to add library into Laravel project #8

sarzali07 opened this issue Feb 20, 2019 · 4 comments

Comments

@sarzali07
Copy link

sarzali07 commented Feb 20, 2019

Hi

I have install dsiddharth2/php-zxing into laravel project.

After that I write sample code

<?php
    use PHPZxing\PHPZxingDecoder;

$decoder        = new PHPZxingDecoder();
$data           = $decoder->decode('https://internationalbarcodes.com/wp-content/uploads/sites/95/2013/09/07-EAN-13-Standard-1.jpg');
if($data instanceof PHPZxing\ZxingImage) {
print_r($data);
}
?>

and it give error File/Folder does not exist.

I think I miss this step

{  
    "require": {
        "dsiddharth2/php-zxing": "1.0.1"
    }  
}

Where I have to add above line in laravel project.

@TOIVI291
Copy link

I have the exact same problem, but i also use "dsiddharth2/php-zxing": "1.0.1", did you ever found the solution?

@sarzali07
Copy link
Author

sarzali07 commented Mar 21, 2019 via email

@dsiddharth2
Copy link
Owner

Sorry for late reply,

Did you guys find the solution ?

@dsiddharth2
Copy link
Owner

I think it the library does not support linking external image paths. I will try and let you know.
I have experimented on local paths on the machine.

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

No branches or pull requests

3 participants