Agent skill · software engineering · ccxt

ccxt-php

CCXT cryptocurrency exchange library for PHP developers. Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors in PHP 8.1+. Use when working with crypto exchanges in PHP projects, trading bots, or web applications. Supports both sync and async (ReactPHP) usage.

Why this skill is useful

Provides specific commands and patterns for integrating with cryptocurrency exchanges using CCXT in PHP, which the AI wouldn't reliably generate on its own.

What it needs

Requires composer installed locally. About 9k tokens when loaded. Last updated 2026-08-06. 43,551 stars on the source repository.

What this skill does

CCXT for PHP A comprehensive guide to using CCXT in PHP projects for cryptocurrency exchange integration. Installation Via Composer (REST and WebSocket) Required PHP Extensions cURL mbstring (UTF-8) PCRE iconv gmp (for some exchanges) Optional for Async/WebSocket ReactPHP (installed automatically with ccxt) Quick Start REST API - Synchronous REST API - Asynchronous (ReactPHP) WebSocket API - Real-time Updates REST vs WebSocket Mode REST WebSocket ------ ------ ----------- Sync \ccxt\binance() (WebSocket requires async) Async \ccxt\async\binance() \ccxt\pro\binance() Feature REST API WebSocket API --------- ---------- --------------- Use for One-time queries, placing orders Real-time monitoring, live price feeds Method prefix fetch (fetchticker, fetchorderbook) watch (watchticker, watchorderbook) Speed Slower (HTTP request/response) Faster (persistent connection) Rate limits Strict (1-2 req/sec) More lenient (continuous stream) Best for Trading, account management Price monitoring, arbitrage detection Creating Exchange Instance REST API - Synchronous REST API - Asynchronous WebSocket API Common REST Operations Loading Markets Fetching Ticker Fetching Order Book Creating Orders Limit Order Market Order Fetching Balance Fetching Orders Fetching Trades Canceling Orders WebSocket Operations (Real-time) Watching Ticker (Live Price Updates) Watching Order Book (Live Depth Updates) Watching Trades (Live Trade Stream) Watching Your Orders (Live Order Updates) Watching Balance (Live Balance Updates) Complete Method Reference Market Data Methods Tickers & Prices fetchTicker(symbol) - Fetch ticker for one symbol fetchTickers([symbols]) - Fetch multiple tickers at once fetchBidsAsks([symbols]) - Fetch best bid/ask for multiple symbols fetchLastPrices([symbols]) - Fetch last prices fetchMarkPrices([symbols]) - Fetch mark prices (derivatives) Order Books fetchOrderBook(symbol, limit) - Fetch order book fetchOrderBooks([symbols]) - Fetch multiple order books fetchL2OrderBook(symbol …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills ccxt/ccxt-php

View the source on GitHub

Browse the @skills marketplace