PHP code example of sevenshi / serverchan

1. Go to this page and download the library: Download sevenshi/serverchan 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/ */

    

sevenshi / serverchan example snippets

 PHP


   $reponse =  Seven::setTitle('hi')->setMessage('hello world')->push();


 PHP



    $response = Seven::setTitle('hi')->setMessage('hello every body')->setChannel('4794-e28b9dae54e86365773xxx')->pushbear();