Skip to content

Jeses/server-sign-verify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

laravel-ssapi

A simple laravel server to server api sign and verify class.

Installation

Pull this package in through Composer.

    {
        "require": {
            "zhengcai/ssapi": "1.*"
        }
    }

or run in terminal: composer require zhengcai/ssapis

then copy the config file

php artisan vendor:publish

Usage

Laravel usage

    use Zhengcai\SsApi\Facades\SsApi;

    $response = SsApi::server('ServerName')
        ->get($api, $data, $headers);

    /* or
    ->post($api, $data, $headers);
    ->put($api, $data, $headers);
    ->patch($api, $data, $headers);
    ->delete($api, $data, $headers);
    */

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages