我对第三方OCR扫描服务有一个非常奇怪的问题。 它们不支持RESTful API端点。他们有自己的PHP SDK。 这是muy当前的文件夹结构
应用
.. Auth
..Http
..Controller
..ai
..advance
..CurlClient.php // this is the file i need to use/import
..xyz.php
..123.php
IdentifyController.php // want to use it here.
当我尝试使用use ai\advance\CurlClient
导入它并尝试调用此类时,我得到Class not found error
如果我尝试执行$client = new ai\advance\CurlClient($api_host, $access_key, $secret_key);
仍未找到相同的错误文件
需要一些建议,我做错了。