PHP code example of sumaia / google-onetap-login
1. Go to this page and download the library: Download sumaia/google-onetap-login library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sumaia / google-onetap-login example snippets
return [
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
// ... other configurations
];
bash
# Publish configuration file
php artisan vendor:publish --tag=google-onetap-config
# Publish views (optional - for customization)
php artisan vendor:publish --tag=google-onetap-views
bash
php artisan migrate