PHP code example of anklimsk / cakephp-notify

1. Go to this page and download the library: Download anklimsk/cakephp-notify library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

anklimsk / cakephp-notify example snippets


   CakePlugin::load('CakeNotify', ['bootstrap' => true, 'routes' => true]);
   

   echo $this->Html->script('CakeNotify.WebNotifications.min.js');

   // Add jQuery plugin Server-Sent Events
   echo $this->Html->script('CakeNotify.jquery.sse.min.js');

   // If need use store configuration of plugin in storages,