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 install and use bunq tinker in laravel? #17

Closed
jimkaler opened this issue Apr 7, 2018 · 3 comments
Closed

How to install and use bunq tinker in laravel? #17

jimkaler opened this issue Apr 7, 2018 · 3 comments

Comments

@jimkaler
Copy link

jimkaler commented Apr 7, 2018

Hey guys, i need to know how can we use bunq tinker in laravel project?

What I've done so far, Installed tinker in new directory because when I try to run "bash <(curl -s https://tinker.bunq.com/php/setup.sh)" command it was saying " Please run the script from an empty directory".
And I've moved tinker folder in laravel vendor. But whenever i try to use BunqLib class in controller it giving me error "Class 'bunq\tinker\BunqLib' not found".
I have also tried with providers and alias in app.php but same error "class not found"
I'm stuck in bunq. I need help, Is anyone bunq expert here who can help me out?
Here the screenshot of error:
@OGKevin
screenshot from 2018-04-07 12-18-02

@OGKevin
Copy link
Contributor

OGKevin commented Apr 7, 2018

@jimkaler tinker is a command line tool and should not be used in a larval project unless your using it to execute command line commands like tinker/user-overview.

You should consider using bunq/sdk_php for this instead of tinker. You can then use BunqLib.php as example on how to use the bunq/sdk_php.

Closing this issue as its not a bug. Feel free to continue commenting.

@OGKevin OGKevin closed this as completed Apr 7, 2018
@jimkaler
Copy link
Author

jimkaler commented Apr 7, 2018

Thanks @OGKevin It was so complicated. Now I have found a way to implement it.
Thanks a lot.

@Shohan494
Copy link

@jimkaler can you help me explaining the integration 😅

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

No branches or pull requests

3 participants