junthink / lumen-admob-ssv by junthink
forked from CasperLaiTW/laravel-admob-ssv

Google Admob server-side verification php library
40
0
0
Package Data
Maintainer Username: junthink
Maintainer Contact: junthink@gamail.com (junthink)
Package Create Date: 2023-08-04
Package Last Update: 2023-08-04
Language: PHP
License: MIT
Last Refreshed: 2024-11-24 15:09:44
Package Statistics
Total Downloads: 40
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

Laravel Google AdMob Server-side Verification

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
    }
}