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

Uncaught Error: Class "Binance\Spot" not found #28

Open
mehdi4467 opened this issue Jan 10, 2024 · 3 comments
Open

Uncaught Error: Class "Binance\Spot" not found #28

mehdi4467 opened this issue Jan 10, 2024 · 3 comments

Comments

@mehdi4467
Copy link

i get below error
Fatal error: Uncaught Error: Class "Binance\Spot" not found in C:\xampp\htdocs\binance\test.php:4 Stack trace: #0 {main} thrown in C:\xampp\htdocs\binance\test.php on line 4

@2pd
Copy link
Contributor

2pd commented Jan 11, 2024

How did you install the package, have you run

composer dump-auto

@mehdi4467
Copy link
Author

mehdi4467 commented Jan 11, 2024

I run it with below instruction
composer require binance/binance-connector-php

@E000001
Copy link

E000001 commented Feb 2, 2024

You have to have an autoload.php file loaded in your script. If you are expecting any help and troubleshoting, you should share more details. Code example, screenshots etc...
image

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