@gabotronix google provide the custom search JSON api to programmatically search and provide 100 searches per day for free and then $5 per 1000 searches after that.
https://developers.google.com/custom-search/v1/overview
To use it from laravel use HTTPClient https://laravel.com/docs/7.x/http-client
It is possible to use a scraper to query google if you want to attempt a free version but it’s less reliable to do this as google monitor and shut down scrapers if they query too frequently.