Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 436 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 436 Bytes

Laravel Google AdMob Server-side Verification

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