Download the PHP package sangezar/srs-php-client without Composer
On this page you can find all versions of the php package sangezar/srs-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sangezar/srs-php-client
More information about sangezar/srs-php-client
Files in sangezar/srs-php-client
Download sangezar/srs-php-client
More information about sangezar/srs-php-client
Files in sangezar/srs-php-client
Vendor sangezar
Package srs-php-client
Short Description PHP client for SRS (Simple Realtime Server) API
License MIT
Package srs-php-client
Short Description PHP client for SRS (Simple Realtime Server) API
License MIT
Please rate this library. Is it a good library?
Informations about the package srs-php-client
SRS PHP Client
PHP client for interacting with SRS (Simple Realtime Server) API.
Features
- 🚀 Full SRS API support
- 🔧 Convenient object-oriented interface
- 📝 Typed data and IDE autocompletion
- 📚 Detailed documentation and examples
- 🛡️ Error handling and exceptions
- 🔒 SSL/TLS support
- ⚙️ Flexible configuration
Installation
Quick Start
Documentation
Detailed documentation is available in multiple languages in the docs directory:
- English Documentation
- Ukrainian Documentation
- Chinese Documentation
Requirements
- PHP 7.4 or higher
- Composer
- PHP Extensions:
- JSON
- cURL
Testing
License
This project is licensed under the MIT License - see the LICENSE file for details.
Authors
Support
If you encounter any issues or have suggestions for improvements, please:
- Check existing issues
- Create a new issue with a detailed description
- Submit a pull request with fixes or improvements
Changelog
All notable changes are documented in the CHANGELOG.md file.
Usage
Basic Usage
Available Settings
Configuration supports the following options:
credentials- Authentication credentials:username- Usernamepassword- Password
timeout- Request timeout in seconds (default: 30)verify- SSL certificate verification (true/false or path to CA bundle)proxy- Proxy settingsdebug- Debug mode (true/false)headers- Additional HTTP headers
Available Methods
System Information
getVersions()- Get SRS version- Returns
Versionobject with methods: getVersion()- Full version (e.g., "5.0.213")getServerId()- Unique server IDgetServiceId()- Unique service IDgetPid()- Process IDgetMajor()- Major versiongetMinor()- Minor versiongetRevision()- RevisionisVersion(string $version)- Check specific versionisNewerThan(string $version)- Check if version is newerisOlderThan(string $version)- Check if version is older
- Returns
getSummaries()- Get general information (pid, argv, pwd, cpu, mem)getRusages()- Get resource usage statisticsgetSelfProcStats()- Get SRS process statisticsgetSystemProcStats()- Get system process statisticsgetMeminfos()- Get system memory informationgetPerformance()- Get system performance statistics
Server Information
getAuthors()- Get information about authors, license, and contributorsgetFeatures()- Get list of supported featuresgetRequests()- Get current request informationgetRawConfig()- Get RAW SRS configuration
Virtual Host Management
getVhosts()- Get list of all virtual hostsgetVhost(string $vhost)- Get information about specific virtual host
Stream Management
getStreams()- Get list of all streamsgetStream(string $streamId)- Get information about specific streamdeleteStream(string $streamId)- Delete stream
Client Management
getClients(int $count = 10)- Get list of clients (default 10)getClient(string $clientId)- Get information about specific clientdeleteClient(string $clientId)- Delete client
Cluster and Diagnostics
getClusters()- Cluster managementgetTcmalloc(string $page = 'summary')- Get tcmalloc information
Error Handling
All versions of srs-php-client with dependencies
PHP Build Version
Package Version
The package sangezar/srs-php-client contains the following files
Loading the files please wait ...