Download the PHP package sevenshi/serverchan without Composer
On this page you can find all versions of the php package sevenshi/serverchan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sevenshi/serverchan
More information about sevenshi/serverchan
Files in sevenshi/serverchan
Download sevenshi/serverchan
More information about sevenshi/serverchan
Files in sevenshi/serverchan
Vendor sevenshi
Package serverchan
Short Description using the serve of serverChan to notify you
License MIT
Package serverchan
Short Description using the serve of serverChan to notify you
License MIT
Please rate this library. Is it a good library?
Informations about the package serverchan
A Easy Laravel Package for ServerChan
See Server酱
Quick Start Guide
-
Create a Laravel 5.5 project:
composer create-project laravel/laravel myproject dev-develop
-
cd myproject
-
Add dependency:
composer require sevenshi/serverchan
-
Copy configuration:
php artisan vendor:publish
- set the SCKEY you get from the serverchan on the .env
SCKEY=SCU17044T7eafa406fxxxxxxxxxx
Now you are ready to use the Seven Facade, e.g. open routes/web.php:
-
send message to yourself
- send message to who subscribe your channel
the channel comes from the PushBear,and channel key comes from the channel you create
- response
if the request is ok,it will response these data below:
push:
- success {"errno":0,"errmsg":"success","dataset":"done"}
pushbear:
- {"code":0,"message":"","data":"1\u6761\u6d88\u606f\u5df2\u6210\u529f\u63a8\u9001\u5230\u53d1\u9001\u961f\u5217","created":"2018-07-18 14:43:05"}
All versions of serverchan with dependencies
PHP Build Version
Package Version
No informations.
The package sevenshi/serverchan contains the following files
Loading the files please wait ....