Google VerifiedSMS Laravel Package

Overview

Google VerifiedSMS Laravel Package

This is a laravel package developed for google business communication api and verified SMS API. Before we commence this installation package you must these things in your side :

  1. Your agent should be verified by google and you must have a partner account with google.
  2. Public/Private key or if you dont have public and private key then go through this https://developers.google.com/business-communications/verified-sms/guides/build/keys
  3. You must have a valid api service account or api for verifiedsms api and business communication api.

Installation

  1. Use command prompt to run this package composer require wontonee/verifiedsms
  2. Its ready to use now in your project. Lets test this by using a Example : Create any controller php artisan make:controller TestController
  3. Create a keys folder in your http/controller/keys (Put .pem and service account json file inside this folder).
  4. Open your TestController.php and write this code
GoogleHashstore(); // Response check if it having success 200 then send sms from your gateway } } ">
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Wontonee\Verifiedsms\Http\Controllers\VerifiedsmsController;

class TestController extends Controller
{
    /**
     * Testing Controller
     */

    public function testing()
    {
        $agentId = "VERIFIED_AGENT_ID";
        $privateKeyPath = __DIR__ . "/keys/private-key-P-384.PEM"; 
        $serviceAccountLocation = __DIR__ . "/keys/wontonee-493caec367b7.json"; //REPLACE WITH YOUR SERVICE ACCOUNT JSON
        $apiKey = ""; // REPLACE WITH API KEY IF SERVICE ACCOUNT NOT USING
        $sms = "This is my first message testing by Saju For wontonee.";
        $mobileno = "+919811381218"; // Mobile no should be with countrycode and mobile no
        
        $storehasing = new VerifiedsmsController($agentId, $privateKeyPath, $serviceAccountLocation, $apiKey, $sms,$mobileno);

        $storehasing->GoogleHashstore();

        // Response check if it having success 200 then send sms from your gateway

    }

}

For any help or customisation https://www.wontonee.com or email us [email protected]

You might also like...
Paperwork - OpenSource note-taking & archiving alternative to Evernote, Microsoft OneNote & Google Keep
Paperwork - OpenSource note-taking & archiving alternative to Evernote, Microsoft OneNote & Google Keep

Paperwork Paperwork is an open-source, self-hosted alternative to services like Evernote®, Microsoft OneNote® or Google Keep® iframe src="https://pla

It's a PHP Application to simplify working with Google Sheets SDK for php.

About GoogleSheetsPHP It's a PHP Application to simplify working with Google Sheets SDK for php. Note: i used Slim 3 to construct the application but

Google Translator Api Wrapper For Php Developers.

Google Translator Api Wrapper For Php Developers.

Google Cloud Profiler for PHP

Google Cloud Profiler for PHP Idiomatic PHP client for Google Cloud Profiler. API documentation NOTE: This repository is part of Google Cloud PHP. Any

Attempting to create an intelligent mock of the Google API PHP Client for unit and functional testing

google-api-php-client-mock A small scale intelligent mock of the Google API PHP Client for unit and functional testing. Overview This is intended to m

A simple API documentation package for Laravel using OpenAPI and Redoc

Laravel Redoc Easily publish your API documentation using your OpenAPI document in your Laravel Application. Installation You can install this package

A Laravel package to help integrate Shopware PHP SDK much more easier

Shopware 6 Laravel SDK A Laravel package to help integrate Shopware PHP SDK much more easier Installation Install with Composer composer require sas/s

laravel package untuk memudahkan penggunaan MCA dengan Telegram Bot USDI di aplikasi Universitas Udayana.

MCA KubeMQ Laravel laravel package untuk memudahkan penggunaan MCA dengan Telegram Bot USDI di aplikasi Universitas Udayana. Motivasi Proyek ini berfu

A Laravel wrapper for thephpleague's Fractal package

laravel-api-response A Laravel wrapper for thephpleague's Fractal package Install Via Composer composer require lykegenes/laravel-api-response Then, a

Releases(5.0.3)
Owner
Saju G
I am a lead instructor in luepe coding academy and serial entrepreneur at "Wontonee", "Maxzones".
Saju G
A Laravel package to retrieve pageviews and other data from Google Analytics

Retrieve data from Google Analytics Using this package you can easily retrieve data from Google Analytics. Here are a few examples of the provided met

Spatie 2.8k Jan 7, 2023
PHP package to manage google-api interactions

Google-api-client PHP package to manage google-api interactions Supports: Google Drive API Google Spreadsheet API Installation composer require obrio-

OBRIO 3 Apr 28, 2022
🌐 Free Google Translate API PHP Package. Translates totally free of charge.

Google Translate PHP Free Google Translate API PHP Package. Translates totally free of charge. Installation Basic Usage Advanced Usage Language Detect

Levan Velijanashvili 1.5k Dec 31, 2022
A versatile PHP Library for Google PageSpeed Insights

PhpInsights An easy-to-use API Wrapper for Googles PageSpeed Insights. The JSON response is mapped to objects for an headache-free usage. Installation

Daniel Sentker 110 Dec 28, 2022
Adds a specific header to every response to disable Google's usage of your site in it's FLoC tracking method.

Go Unfloc Yourself Description A bundle for Symfony 5 that adds a Permissions-Policy header in all the responses to prevent the use of new Google's "F

(infinite) loophp 3 Feb 25, 2022
Google PHP API Client Services

Google PHP API Client Services

Google APIs 1.1k Dec 22, 2022
Google Drive Api Wrapper by PHP

GoogleDrive Api Wrapper usage at first you need to create oauth client on google cloud platform. so go to the your google console dashboard and create

Arash Abedi 2 Mar 24, 2022
An elegant wrapper around Google Vision API

STILL UNDER DEVELOPMENT - DO NOT USE IN PRODUCTION Requires PHP 8.0+ For feedback, please contact me. This package provides an elegant wrapper around

Ahmad Mayahi 24 Nov 20, 2022
🌏 Discover Random Destinations & Cities explored by people on Google Street View.

Random Street View on Steroids ?? Welcome to the streetviewhub.com codebase. Here lies all the code with all the awesomeness and ?? s. Have some ideas

Akash 22 Dec 16, 2022
Simple Google Tts Api Class

Simple Google Tts Api Class

Ömer Faruk Demirel 2 Dec 2, 2022