junthink/lumen-admob-ssv

Google Admob server-side verification php library

v1.0.1 2023-08-04 14:45 UTC

This package is not auto-updated.

Last update: 2024-11-23 21:15:27 UTC


README

The library help you to verify Admob callback in server.

Install

composer require junthink/lumen-admob-ssv

How to use

use junthink\LaravelAdmobSsv\AdMob;
use Illuminate\Http\Request;

public function callback(Request $request) {
    $adMob = new AdMob($request);
    if ($adMob->validate()) {
        // success
    } else {
        // failed
    }
}