Pusher Webservice (API) for CakePHP 3
Using Composer:
composer require muffin/pusher:dev-master
You then need to load the plugin. You can use the shell command:
bin/cake plugin load Muffin/Pusher
or by manually adding statement shown below to bootstrap.php
:
Plugin::load('Muffin/Pusher');
In your app.php
, configure your Pusher service like any other configuration, by adding a new element to the configure array:
'Webservices' => [
'pusher' => [
'className' => 'Muffin\Webservice\Connection',
'service' => 'Muffin/Pusher.Pusher',
]
]
- Fork
- Mod, fix
- Test - this is important, so it's not unintentionally broken
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
- Pull request - bonus point for topic branches
To ensure your PRs are considered for upstream, you MUST follow the CakePHP coding standards.
http://github.com/usemuffin/pusher/issues
Copyright (c) 2015, Use Muffin and licensed under The MIT License.