PHPackages                             syntaxsapiens/logodev-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. syntaxsapiens/logodev-laravel

ActiveLibrary[API Development](/categories/api)

syntaxsapiens/logodev-laravel
=============================

A Laravel package that simplifies interaction with the Logo.dev API.

v1.0.0(1y ago)65MITPHPPHP ^8.2

Since Jan 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/syntaxsapiens/logodev-laravel)[ Packagist](https://packagist.org/packages/syntaxsapiens/logodev-laravel)[ Docs](https://github.com/syntaxsapiens/logodev-laravel)[ RSS](/packages/syntaxsapiens-logodev-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Logo.dev Laravel Package
========================

[](#logodev-laravel-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/72a6dde6ef1d52f472ac69771793aa80bed12e385c68e2c57f257494c4850cb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73796e74617873617069656e732f6c6f676f6465762d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/syntaxsapiens/logodev-laravel)[![Pest Tests](https://github.com/syntaxsapiens/logodev-laravel/actions/workflows/run-tests.yml/badge.svg)](https://github.com/syntaxsapiens/logodev-laravel/actions/workflows/run-tests.yml)[![PHPStan Level 5](https://github.com/syntaxsapiens/logodev-laravel/actions/workflows/phpstan.yml/badge.svg)](https://github.com/syntaxsapiens/logodev-laravel/actions/workflows/phpstan.yml)[![Total Downloads](https://camo.githubusercontent.com/90ad1fa9049a2bc5720ac09a35510227fbd25cc7db14c1b7d65fd46daf06b452/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796e74617873617069656e732f6c6f676f6465762d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/syntaxsapiens/logodev-laravel)

This Laravel package provides simple methods for interacting with the [Logo.dev](https://www.logo.dev/) API. Logo.dev is an attribution-based freemium API, for more information please visit .

> **Disclaimer:** This package is not officially affiliated with [Logo.dev](https://www.logo.dev/). All rights and trademarks for the Logo.dev API belong to their respective owners.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require syntaxsapiens/logodev-laravel
```

Configuration
-------------

[](#configuration)

You can publish the config file with:

```
php artisan vendor:publish --tag="logodev-laravel-config"
```

Below is the content of the published configuration file.

- The values for `LOGODEV_PUBLISHABLE_KEY` and `LOGODEV_SECRET_KEY` can be obtained by [signing up for a free account](https://accounts.logo.dev/sign-up). These should be set in your `.env` file.
- 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](https://docs.logo.dev/logo-images/introduction).

```
return [
    'publishable_key' => env('LOGODEV_PUBLISHABLE_KEY'),
    'secret_key' => env('LOGODEV_SECRET_KEY'),
    'size' => null,     // Default: 128
    'format' => null,   // Default: jpg
    'greyscale' => null, // Default: false
    'fallback' => null, // Default: Monogram
];
```

Usage
-----

[](#usage)

The package supports direct instantiation and facade usage.

### Logo by Domain

[](#logo-by-domain)

```
// Direct instantiation
$logoDev = new LogoDev();
echo $logoDev->logoByDomain('google.com');

// Facade usage
echo LogoDev::logoByDomain('google.com');
```

### Logo by Ticker

[](#logo-by-ticker)

```
// Direct instantiation
$logoDev = new LogoDev();
echo $logoDev->logoByTicker('GOOG');

// Facade usage
echo LogoDev::logoByTicker('GOOG');
```

### Request Level Custom Options

[](#request-level-custom-options)

```
// Direct instantiation
$logoDev = new LogoDev();
echo $logoDev->logoByDomain('google.com', [
    'size' => 256,
    'format' => 'png',
    'greyscale' => true,
    'fallback' => 404,
]);

// Facade usage
echo LogoDev::logoByDomain('google.com', [
    'size' => 256,
    'format' => 'png',
    'greyscale' => true,
    'fallback' => 404,
]);
```

### Brand Search

[](#brand-search)

Search for domains by brand name. Returns JSON array with brand / domain key-value pairs. [More information](https://docs.logo.dev/brand-search/introduction).

```
// Direct instantiation
$logoDev = new LogoDev();
echo $logoDev->brandSearch('apple');

// Facade usage
echo LogoDev::brandSearch('apple');
```

### Describe

[](#describe)

Retrieve available brand data for a given domain including name, description, logo and social media links. [More information](https://docs.logo.dev/describe/introduction).

```
// Direct instantiation
$logoDev = new LogoDev();
echo $logoDev->describe('microsoft.com');

// Facade usage
echo LogoDev::describe('microsoft.com');
```

### Attribution Requirement

[](#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:

```
Logos provided by Logo.dev
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Yevgeniy Chuchin](https://github.com/syntaxsapiens)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance41

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

494d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d9e4472df485261bcc42ff80e9a1668396730df256f84d0d6e5907b05bb3738?d=identicon)[syntaxsapiens](/maintainers/syntaxsapiens)

---

Top Contributors

[![syntaxsapiens](https://avatars.githubusercontent.com/u/189194285?v=4)](https://github.com/syntaxsapiens "syntaxsapiens (24 commits)")

---

Tags

laravellogosyntaxsapienslogo.devlogodev-laravel

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/syntaxsapiens-logodev-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/syntaxsapiens-logodev-laravel/health.svg)](https://phpackages.com/packages/syntaxsapiens-logodev-laravel)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
