Download the PHP package wioex/php-sdk without Composer

On this page you can find all versions of the php package wioex/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-sdk

WioEX PHP SDK

Official PHP SDK for WioEX Financial Data API - Enterprise-grade client library for accessing stocks, trading signals, news, currency, and financial market data.

PHP Version Latest Version License Tests

What's New in v2.9.0

Enhanced Configuration Management & Enterprise-Grade Type Safety.

🔧 v2.9.0 - Configuration & Type Safety Release

Continued Excellence from v2.8.x

Built on v2.7.x Foundation

Ideal for Professional Trading

Requirements

Installation

Quick Start

Advanced Configuration

Enhanced Configuration Management with Dot Notation

The SDK now supports advanced configuration management with dot notation for easy access to nested configuration values:

Type-Safe Configuration Access

All configuration methods now include proper type safety and null handling:

Enhanced Cache Management

Improved cache management with macro support and better type declarations:

Core Features

Stock Data

Enhanced Response Structure (Unified ResponseTemplate):

New Metadata Access Methods

The SDK now provides 20+ helper methods to easily access response metadata and performance metrics:

Backward Compatibility

The SDK automatically handles both new unified ResponseTemplate format and legacy formats:

Market Screens

Response Structure Examples:

Trading Signals

Response Structure Examples:

Real-time Streaming

javascript\n"; echo "class WioexStreamingClient {\n"; echo "constructor(token, url) {\n"; echo "this.token = token;\n"; echo "this.url = url;\n"; echo "this.ws = null;\n"; echo "this.subscriptions = new Set();\n"; echo "this.reconnectAttempts = 0;\n"; echo "this.maxReconnectAttempts = 5;\n"; echo "this.heartbeatInterval = null;\n"; echo "}\n\n";

echo "connect() {\n"; echo "this.ws = new WebSocket(\${this.url}?token=\${this.token});\n\n";

echo "this.ws.onopen = () => {\n"; echo "console.log(' Connected to WioEX streaming');\n"; echo "this.reconnectAttempts = 0;\n"; echo "this.startHeartbeat();\n"; echo "this.resubscribeAll();\n"; echo "};\n\n";

echo "this.ws.onmessage = (event) => {\n"; echo "const data = JSON.parse(event.data);\n"; echo "this.handleMessage(data);\n"; echo "};\n\n";

echo "this.ws.onclose = (event) => {\n"; echo "console.log(' Connection closed:', event.code);\n"; echo "this.stopHeartbeat();\n"; echo "this.handleReconnect();\n"; echo "};\n\n";

echo "this.ws.onerror = (error) => {\n"; echo "console.error(' WebSocket error:', error);\n"; echo "};\n"; echo "}\n\n";

echo "// Subscribe to real-time stock quotes\n"; echo "subscribeToQuotes(symbols) {\n"; echo "const message = {\n"; echo "action: 'subscribe',\n"; echo "channel: 'stocks.quotes',\n"; echo "symbols: symbols\n"; echo "};\n"; echo "this.send(message);\n"; echo "symbols.forEach(symbol => this.subscriptions.add(quotes:\${symbol}));\n"; echo "}\n\n";

echo "// Subscribe to trading signals\n"; echo "subscribeToSignals(options = {}) {\n"; echo "const message = {\n"; echo "action: 'subscribe',\n"; echo "channel: 'signals',\n"; echo "filter: {\n"; echo "min_confidence: options.minConfidence || 70,\n"; echo "symbols: options.symbols || [],\n"; echo "signal_types: options.signalTypes || ['buy', 'sell']\n"; echo "}\n"; echo "};\n"; echo "this.send(message);\n"; echo "this.subscriptions.add('signals');\n"; echo "}\n\n";

echo "// Handle incoming messages\n"; echo "handleMessage(data) {\n"; echo "switch(data.type) {\n"; echo "case 'quote_update':\n"; echo "this.onQuoteUpdate(data.payload);\n"; echo "break;\n"; echo "case 'signal_alert':\n"; echo "this.onSignalAlert(data.payload);\n"; echo "break;\n"; echo "case 'market_status':\n"; echo "this.onMarketStatus(data.payload);\n"; echo "break;\n"; echo "case 'heartbeat':\n"; echo "this.onHeartbeat(data.payload);\n"; echo "break;\n"; echo "}\n"; echo "}\n\n";

echo "// Real-time quote updates\n"; echo "onQuoteUpdate(quote) {\n"; echo "console.log(\${quote.symbol}: $\${quote.price} (\${quote.change > 0 ? '+' : ''}\${quote.change}%));\n"; echo "\n"; echo "// Update portfolio display\n"; echo "this.updatePortfolioDisplay(quote);\n"; echo "\n"; echo "// Check for significant moves\n"; echo "if (Math.abs(quote.change_percent) > 5) {\n"; echo "this.alertSignificantMove(quote);\n"; echo "}\n"; echo "}\n\n";

echo "// Trading signal alerts\n"; echo "onSignalAlert(signal) {\n"; echo "const emoji = signal.signal_type === 'buy' ? '' : '';\n"; echo "console.log(\${emoji} Signal: \${signal.symbol} \${signal.signal_type.toUpperCase()} (Confidence: \${signal.confidence}%));\n"; echo "\n"; echo "// Show desktop notification\n"; echo "if (Notification.permission === 'granted') {\n"; echo "new Notification(Trading Signal: \${signal.symbol}, {\n"; echo "body: \${signal.signal_type.toUpperCase()} signal with \${signal.confidence}% confidence,\n"; echo "icon: '/assets/wioex-icon.png'\n"; echo "});\n"; echo "}\n"; echo "}\n\n";

echo "// Market status updates\n"; echo "onMarketStatus(status) {\n"; echo "console.log(Market Status: \${status.nyse.status});\n"; echo "this.updateMarketStatusDisplay(status);\n"; echo "}\n"; echo "}\n\n";

echo "// Initialize streaming client\n"; echo "const streamingClient = new WioexStreamingClient('{$wsToken}', '{$wsUrl}');\n"; echo "streamingClient.connect();\n\n";

echo "// Subscribe to portfolio updates\n"; echo "streamingClient.subscribeToQuotes(['AAPL', 'GOOGL', 'MSFT', 'TSLA']);\n\n";

echo "// Subscribe to high-confidence signals\n"; echo "streamingClient.subscribeToSignals({\n"; echo "minConfidence: 80,\n"; echo "symbols: ['AAPL', 'GOOGL', 'MSFT', 'TSLA', 'NVDA'],\n"; echo "signalTypes: ['buy', 'sell']\n"; echo "});\n"; echo "

WebSocket Message Examples:

Market Status

News & Analysis

Response Structure Examples:

Trump Effect - Social Media Market Impact

Monitor Trump's social media posts and their impact on financial markets.

Currency Exchange

Account Management

Advanced Features

Bulk Operations & Portfolio Management

Caching & Performance Optimization

Async Operations & Promise Handling

Performance & Best Practices

New Export Utilities (v2.0.0)

Export data in multiple formats:

Configuration

Basic Setup

Advanced Configuration

Environment-Based Configuration (New)

Error Handling

Response Handling

Testing

The SDK includes comprehensive testing:

Test Coverage:

Migration from v1.x

Zero breaking changes! Your existing code works without modifications:

New optional features:

🚀 Ticker Analysis (NEW in v2.4.0)

Comprehensive investment research with institutional-grade analysis.

Ticker Analysis Features:

Perfect for:

Examples

See the /examples directory:

Version History

Support

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Run tests: composer test
  4. Commit changes
  5. Submit pull request

License

MIT License. See LICENSE for details.


Production Ready - All critical issues resolved in v2.0.0

Made by WioEX Team


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
guzzlehttp/guzzle Version ^7.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wioex/php-sdk contains the following files

Loading the files please wait ...