Comments (3)
This is related to your knowledge with composer and auto-loader and not an issue with the package.
You need to find the classes using your IDE suggestions or navigating the package files.
use Soneso\StellarSDK\Crypto\KeyPair;
from stellar-php-sdk.
Agreed, I hate composer and whole deployment garbage with abstracted and hidden includes and references.
I wrote my own functions, do not need these SDKs always a headache, if I cant just include the library and start referencing it - i do not want it.
from stellar-php-sdk.
This is related to your knowledge with composer and auto-loader and not an issue with the package.
You need to find the classes using your IDE suggestions or navigating the package files.
use Soneso\StellarSDK\Crypto\KeyPair;
`<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require('autoload.php');
use Soneso\StellarSDK\Crypto\KeyPair;
$keyPair = KeyPair::random();
print($keyPair->getAccountId());
print($keyPair->getSecretSeed());
?>`
Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/equitiescharts/equitiescharts.com/soneso/vendor/soneso/stellar-php-sdk/Soneso/StellarSDK/Crypto/KeyPair.php on line 32
from stellar-php-sdk.
Related Issues (17)
- Set home domain HOT 1
- Build XDR to be signed HOT 5
- Not able to hide errors HOT 5
- Bug in SetOptionsOperation HOT 5
- A bug in XdrDecoder HOT 1
- txRep HOT 2
- WebAuth Issue HOT 1
- Order book requests are not working HOT 2
- Bip39.php does not comply with psr-4 autoloading standard. Skipping.
- Error from $sdk->submitTransaction($transaction); is propagating to api response()
- Can't get it to work HOT 4
- Protocol 19 SDK Support HOT 1
- create a non-native coin object
- Call to a member function getAccountId() on null HOT 1
- A few bugs HOT 1
- Get Asset Images HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stellar-php-sdk.