casperlaitw/laravel-admob-ssv

Google Admob server-side verification php library

v1.4.0 2024-03-21 15:14 UTC

This package is auto-updated.

Last update: 2024-12-11 08:08:58 UTC


README

The library help you to verify Admob callback in server.

Install

composer require casperlaitw/laravel-admob-ssv

How to use

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

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