Download the PHP package syntaxsapiens/logodev-laravel without Composer
On this page you can find all versions of the php package syntaxsapiens/logodev-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download syntaxsapiens/logodev-laravel
More information about syntaxsapiens/logodev-laravel
Files in syntaxsapiens/logodev-laravel
Package logodev-laravel
Short Description A Laravel package that simplifies interaction with the Logo.dev API.
License MIT
Homepage https://github.com/syntaxsapiens/logodev-laravel
Informations about the package logodev-laravel
Logo.dev Laravel Package
This Laravel package provides simple methods for interacting with the Logo.dev API. Logo.dev is an attribution-based freemium API, for more information please visit https://www.logo.dev/pricing.
Disclaimer: This package is not officially affiliated with Logo.dev. All rights and trademarks for the Logo.dev API belong to their respective owners.
Installation
You can install the package via composer:
Configuration
You can publish the config file with:
Below is the content of the published configuration file.
- The values for
LOGODEV_PUBLISHABLE_KEYandLOGODEV_SECRET_KEYcan be obtained by signing up for a free account. These should be set in your.envfile. - The remaining configuration options allow you to define global defaults for image-related settings when using the logo methods.
- By default, the API uses the values specified in the comments for each configuration line. You can override these defaults on a per-request basis if needed.
For more details, refer to the Logo.dev documentation on logo images.
Usage
The package supports direct instantiation and facade usage.
Logo by Domain
Logo by Ticker
Request Level Custom Options
Brand Search
Search for domains by brand name. Returns JSON array with brand / domain key-value pairs. More information.
Describe
Retrieve available brand data for a given domain including name, description, logo and social media links. More information.
Attribution Requirement
Before deploying with a free account, you are required on any page you use the Logo API to link back to logo.dev. Attribution links should be legible and indexable. Here’s an example attribution link to use:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.