jrschumacher / silex-provider-thunderpush
Installs: 1 427
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- silex/silex: >=1.0
- thunderpush/php-thunderclient: dev-master
Requires (Dev)
- phpunit/phpunit: ~3.5
This package is not auto-updated.
Last update: 2024-11-09 15:20:13 UTC
README
Thunderpush service provider for silex micro-framework. Check here: https://github.com/thunderpush/php-thunderclient
Example
<?php use Silex\Application; $host = 'localhost'; $port = '8080'; $key = 'key'; $secret = 'secret'; $app = new Application(); $app->register(new ThunderpushServiceProvider(), array( "thunderpush.host" => $host, "thunderpush.port" => $port, "thunderpush.key" => $key, "thunderpush.secret" => $secret )); $tp = $app['thunderpush']; $tp->get_user_count();
Install with Composer
{ require: { "jrschumacher/silex-provider-thunderpush": "dev-master" } }