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

PHP Fatal error: Uncaught Error: Class 'Cryptomkt\Configuration' #1

Open
SARQUIS-BOUTROS opened this issue Apr 3, 2019 · 0 comments

Comments

@SARQUIS-BOUTROS
Copy link

Hi! i tried run this below code:

<?php

require  __DIR__.'/vendor/autoload.php';

use Cryptomkt\Client;
use Cryptomkt\Configuration;

$apiKey = 'dsfdsfdsfdsf';
$apiSecret = 'dasdsad33';
$configuration = Configuration::apiKey($apiKey, $apiSecret);
$client = Client::create($configuration);

$markets = $client->getMarkets();

echo $markets;

but return next error:
C:\Users\HECTOR\Desktop\Project MKT\Project1-WOS>php index.php
PHP Fatal error: Uncaught Error: Class 'Cryptomkt\Configuration' not found in C:\Users\HECTOR\Desktop\Project MKT\Project1-WOS\index.php:10
Stack trace:
#0 {main}
thrown in C:\Users\HECTOR\Desktop\Project MKT\Project1-WOS\index.php on line 10

Fatal error: Uncaught Error: Class 'Cryptomkt\Configuration' not found in C:\Users\HECTOR\Desktop\Project MKT\Project1-WOS\index.php:10
Stack trace:
#0 {main}
thrown in C:\Users\HECTOR\Desktop\Project MKT\Project1-WOS\index.php on line 10

already install composer. What Kind of type problem can be?
Thanks

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

1 participant