PHPackages                             mtr-design/laravel-logo-fetcher - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mtr-design/laravel-logo-fetcher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mtr-design/laravel-logo-fetcher
===============================

Fetching companies' logos by their domain names

1.0.3(9y ago)0564[1 issues](https://github.com/mtrdesign/logo-fetcher/issues)MITPHPPHP &gt;=5.5.9

Since Jun 8Pushed 9y ago8 watchersCompare

[ Source](https://github.com/mtrdesign/logo-fetcher)[ Packagist](https://packagist.org/packages/mtr-design/laravel-logo-fetcher)[ RSS](/packages/mtr-design-laravel-logo-fetcher/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Laravel Logo Fetcher
--------------------

[](#laravel-logo-fetcher)

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

[](#installation)

Require this package with composer:

```
composer require mtr-design/laravel-logo-fetcher
```

Add the ServiceProvider to the providers array in config/app.php

```
MTRDesign\LaravelLogoFetcher\ServiceProvider::class,
```

Copy the package config to your local config with the publish command:

```
php artisan vendor:publish --provider="MTRDesign\LaravelLogoFetcher\ServiceProvider"
```

You now should have config/logo\_fetcher.php file. You can open and tweak the configuration options

Usage
-----

[](#usage)

1. Resolve the \\MTRDesign\\LaravelLogoFetcher\\LogoFetcher class from the container
2. Set a provider using the provider() method
3. Call the fetch() method to get the logo
4. You can chain with store() to save it using your default storage disk

If you want to directly store the logo:

```
$logoFetcher = app(\MTRDesign\LaravelLogoFetcher\LogoFetcher::class);
$logoFetcher->provider(Clearbit::class)
    ->fetch($domain)
    ->store();
```

If you want to just fetch the logo:

```
$logoFetcher = app(\MTRDesign\LaravelLogoFetcher\LogoFetcher::class);
$logo = $logoFetcher
    ->provider(Clearbit::class)
    ->fetch($domain)
    ->logo;
```

One extra example to illustrate the domain() helper and the path property, assuming that you injected the logo fetcher class:

```
$path = $this->logoFetcher
    ->provider(Clearbit::class)
    ->domain($domain)
    ->fetch()
    ->store()
    ->path;
```

Providers
---------

[](#providers)

You can define your own providers - just create a class and implement the MTRDesign\\LaravelLogoFetcher\\Providers\\ProviderContract

Error handling
--------------

[](#error-handling)

Different exceptions will be raised if the fetching fails but they all inherit from the `\MTRDesign\LaravelLogoFetcher\Exceptions\LogoFetcherException`. All are having human-readable messages and can be safely output to the client. You can find all the exceptions in the `\MTRDesign\LaravelLogoFetcher\Exceptions` namespace.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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

Every ~4 days

Total

4

Last Release

3292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf853cb1c1c106fc3c8263bf9809deb42e96507938f7f33a6c671ce28273d0fd?d=identicon)[andonovn](/maintainers/andonovn)

---

Top Contributors

[![andonovn](https://avatars.githubusercontent.com/u/10074115?v=4)](https://github.com/andonovn "andonovn (6 commits)")[![akolevutd](https://avatars.githubusercontent.com/u/7977543?v=4)](https://github.com/akolevutd "akolevutd (1 commits)")

---

Tags

laravellogofetcher

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mtr-design-laravel-logo-fetcher/health.svg)

```
[![Health](https://phpackages.com/badges/mtr-design-laravel-logo-fetcher/health.svg)](https://phpackages.com/packages/mtr-design-laravel-logo-fetcher)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nativephp/mobile

NativePHP for Mobile

1.0k55.0k85](/packages/nativephp-mobile)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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