Download the PHP package slvler/brave-search-api without Composer
On this page you can find all versions of the php package slvler/brave-search-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package brave-search-api
Brave Web Search API
Introduction
Brave Web Search API is a REST API to query Brave Search and get back search results from the web. The following sections describe how to curate requests, including parameters and headers, to Brave Web Search API and get a JSON response back. This package provides a convenient wrapper to the Brave Web Search API for Laravel applications.
Requirements
- PHP 8.2
- Laravel 9.x | 10.x | 11.x
Installation
To install this package tou can use composer:
Usage
-
First, you should extract the config/brave.php file to the config folder.
- First of all we'll add the API key and API Url of the service we're using to our .env file of our project. If you don't have an account yet on api.search.brave.com, you should create one. Once you have an account you can copy your API key from the dashboard page and put it into you .env file.
Web text search
- You can use it to search on brave api:
Image Search
Testing
Credits
- slvler
License
The MIT License (MIT). Please see License File for more information.
Contributing
You're very welcome to contribute. Please see CONTRIBUTING for details.
All versions of brave-search-api with dependencies
guzzlehttp/guzzle Version ^7.2
illuminate/support Version ^9.0|^10.0|^11.0