https://github.com/gitodin-official/gitodin-php-client
PHP package to interact with GitOdin RESTful API
https://github.com/gitodin-official/gitodin-php-client
gitodin-php package php socket socket-io socketio
Last synced: 6 months ago
JSON representation
PHP package to interact with GitOdin RESTful API
- Host: GitHub
- URL: https://github.com/gitodin-official/gitodin-php-client
- Owner: GitOdin-Official
- License: mit
- Created: 2017-12-15T05:09:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-17T02:10:45.000Z (about 7 years ago)
- Last Synced: 2025-07-11T21:11:44.909Z (7 months ago)
- Topics: gitodin-php, package, php, socket, socket-io, socketio
- Language: PHP
- Homepage:
- Size: 188 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

This is a package made for PHP, to interact with the GitOdin RESTful API Network Access Point to send payloads through the network to your client side in real-time!
---
# Getting Started
> Installing using Composer
>```sh
> composer require gitodin/php-client
>```
### How to use:
> Load the Package using Composer
>```php
>require_once("../vendor/autoload.php"); // Composer Method, Loading by PSR4
>use GitOdin\GitOdin;
>```
>Load the Package **not** using Composer (Downloaded from GitHub)
>```php
>require_once("../src/GitOdin_load.php"); // Manual Load, no PSR4 Autoload
>use GitOdin\GitOdin;
>```
> This will send an Payload to a Specific channel on the specified event.
>```php
>$GitOdin = GitOdin::summon('*', 'Server', 'Auth Gateway');
>
>$express_response = $GitOdin->send(new Event(
> "channelName",
> "eventName",
> "someData"
>));
>echo $express_response;
>```
> For more Examples check out the /examples folder.
---
# Indepth Documentation
Documentation for GitOdin.com can be found at https://GitOdin.com/documentation
# Contributors
- yordaDev @ https://github.com/yordadev
- nhalstead @ https://github.com/nhalstead