Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 18, 2024 via composer

pusher/pusher-php-server 7.2.4

Library for interacting with the Pusher REST API
Package summary
Share
0
issues
2
licenses
10
MIT
1
ISC
Package created
30 Aug 2012
Version published
15 Dec 2023
Maintainers
1
Total deps
11
Direct deps
3
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
10 Packages, Including:
guzzlehttp/guzzle@7.8.1
guzzlehttp/promises@2.0.2
guzzlehttp/psr7@2.6.2
paragonie/random_compat@v9.99.100
psr/http-client@1.0.3
psr/http-factory@1.1.0
psr/log@3.0.0
pusher/pusher-php-server@7.2.4
ralouphie/getallheaders@3.0.3
symfony/deprecation-contracts@v3.5.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
paragonie/sodium_compat@v1.21.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

3
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
guzzlehttp/guzzle7.8.1112.34 kBMIT
prod
paragonie/sodium_compatv1.21.1-ISC
prod
psr/log3.0.06.77 kBMIT
prod dev

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.