Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 2, 2024 via composer

pusher/pusher-php-server v2.4.1

Library for interacting with the Pusher REST API
Package summary
Share
0
issues
1
license
1
MIT
Package created
30 Aug 2012
Version published
27 May 2016
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
pusher/pusher-php-server@v2.4.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of pusher/pusher-php-server 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does pusher/pusher-php-server do?

The "pusher/pusher-php-server" is a PHP library for interacting with the Pusher REST API. It offers the potential to create real-time, live-updating user interfaces, without needing to poll a server for updates. This library makes it easy to trigger real-time events on different channels, authenticate and authorize users, encrypt messages, and query application state information.

How do you use pusher/pusher-php-server?

Using "pusher/pusher-php-server" starts with installing the library via a composer package. This can be achieved by running the command: $ composer require pusher/pusher-php-server. Another option is to add the "pusher/pusher-php-server" requirement in your composer.json file and running composer update. The library can be integrated into PHP applications, Laravel, and other PHP frameworks.

Here's a simple code example on how to trigger an event on a channel using this library:

$app_id = 'YOUR_APP_ID';
$app_key = 'YOUR_APP_KEY';
$app_secret = 'YOUR_APP_SECRET';
$app_cluster = 'YOUR_APP_CLUSTER';

$pusher = new Pusher\Pusher($app_key, $app_secret, $app_id, ['cluster' => $app_cluster]);

$pusher->trigger('my-channel', 'my_event', 'hello world');

This code will trigger the 'my_event' event on 'my-channel' with the data 'hello world'.

Where are the pusher/pusher-php-server docs?

The documentation for "pusher/pusher-php-server" is available on the package's GitHub repository. You can access the complete documentation and learn more about its various functionalities by visiting https://github.com/pusher/pusher-http-php.git. This documentation provides a comprehensive guide on how to install, configure, and use this library in your PHP applications effectively.