https://github.com/fvdm/pusher-php
PHP function for Pusherapp.com
https://github.com/fvdm/pusher-php
Last synced: 10 months ago
JSON representation
PHP function for Pusherapp.com
- Host: GitHub
- URL: https://github.com/fvdm/pusher-php
- Owner: fvdm
- Created: 2011-10-23T17:02:40.000Z (over 14 years ago)
- Default Branch: develop
- Last Pushed: 2015-05-20T06:25:39.000Z (about 11 years ago)
- Last Synced: 2025-03-15T17:35:04.186Z (over 1 year ago)
- Language: PHP
- Size: 184 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Pusher-PHP
At the moment there is only one file _pusher.php_ to send messages to your [Pusher](http://pusher.com/) app from a PHP script.
Just require it and do like this:
```php
'1234',
'authKey' => 'f843j838v49',
'authSecret' => '2kh4s9dv1e',
'channel' => 'chat',
'event' => 'user_text',
'fields' => array(
'username' => 'johndoe',
'time' => date( 'H:i:s' ),
'text' => 'hello world'
)
));
?>```