Skip to content

Instantly share code, notes, and snippets.

@Zer0xFF
Last active May 31, 2020 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zer0xFF/da32877f03d76931bbc40232e5581797 to your computer and use it in GitHub Desktop.
Save Zer0xFF/da32877f03d76931bbc40232e5581797 to your computer and use it in GitHub Desktop.
google my business with laravel

Update Google's MyBusiness.php library to play nice with laravel

  • Copy/Paste the following content of update.php to the top of MyBusiness.php
namespace App\Classes;

use Google_Service;
use Google_Service_Resource;
use Google_Model;
use Google_Collection;
use Google_Client;
  • find and replace content of MyBusiness.php
    • find : , array($params), "
    • replace : , array($params), "App\Classes\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment