Composer does not recognize Class "Fatal error: Uncaught Error: "Class" Not Found"
Composer does not recognize Class "Fatal error: Uncaught Error: "Class" Not Found"
我正在尝试使用这个包装器:
https://github.com/larislackers/php-binance
已经安装了,但是由于某些原因 class BinanceApiContainer
找不到。
我的代码
<?php
require 'C:\Users\Francisco\vendor\autoload.php';
$bac = new BinanceApiContainer('<your_key>', '<your_secret>');
?>
有人知道这件事吗?谢谢。
遇到错误
"Fatal error: Uncaught Error: Class 'BinanceApiContainer' not found in
C:\php\servidor\htdocs\binance_proj\binance.php:11 Stack trace: #0
{main} thrown in C:\php\servidor\htdocs\binance_proj\binance.php on
line 11"
全局命名空间中没有 BinanceApiContainer
class。
use Larislackers\BinanceApi\BinanceApiContainer;
// ...
$bac = new BinanceApiContainer('<your_key>', '<your_secret>');
我正在尝试使用这个包装器:
https://github.com/larislackers/php-binance
已经安装了,但是由于某些原因 class BinanceApiContainer
找不到。
我的代码
<?php
require 'C:\Users\Francisco\vendor\autoload.php';
$bac = new BinanceApiContainer('<your_key>', '<your_secret>');
?>
有人知道这件事吗?谢谢。
遇到错误
"Fatal error: Uncaught Error: Class 'BinanceApiContainer' not found in C:\php\servidor\htdocs\binance_proj\binance.php:11 Stack trace: #0 {main} thrown in C:\php\servidor\htdocs\binance_proj\binance.php on line 11"
全局命名空间中没有 BinanceApiContainer
class。
use Larislackers\BinanceApi\BinanceApiContainer;
// ...
$bac = new BinanceApiContainer('<your_key>', '<your_secret>');