Code Monkey home page Code Monkey logo

Comments (3)

srdante avatar srdante commented on July 21, 2024

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.

proper-systems avatar proper-systems commented on July 21, 2024

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.

danbradster avatar danbradster commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.