binance / binance-connector-php

This is a thin library that working as a connector to the Binance public API.
78 stars 22 forks source link

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

Open mehdi4467 opened 10 months ago

mehdi4467 commented 10 months ago

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 commented 10 months ago

How did you install the package, have you run


composer dump-auto
mehdi4467 commented 10 months ago

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

E000001 commented 10 months ago

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