PHPackages                             driessenstijn/waper - 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. driessenstijn/waper

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

driessenstijn/waper
===================

This function will return the website logo url of a given website url

010PHP

Since Feb 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/driessenstijn/Waper)[ Packagist](https://packagist.org/packages/driessenstijn/waper)[ RSS](/packages/driessenstijn-waper/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Waper
=====

[](#waper)

Website Logo Scraper

### Installation

[](#installation)

```
composer require driessenstijn/waper/
```

Why use waper?
--------------

[](#why-use-waper)

Waper will allow you to crawl any given website to find out what logo it uses. It's simple and it should always return a logo for you.

The logic
---------

[](#the-logic)

The logic is simple and straightforward. It will do the following checks in sequence to find a logo

- It will first try to find a logo named image on the website
- If not found, it will continue to check all CSS files of the website to find a logo in
- If all above methods fail, it will use Google to find it

Fair Use Policy
---------------

[](#fair-use-policy)

Please use this package to add a logo to a given website when displaying or whenever you want to assist a user to add a logo for him on basis of a given website. Do note that the last step is to crawl also Google for a logo file. Google will block excessive attempts on the Google website so please be aware of this and use it wisely.

Usage example
-------------

[](#usage-example)

```
require_once __DIR__ . '/../vendor/autoload.php';

use Waper\Waper;

$waper = new Waper('http://www.hourpendulum.com');
$image = $waper->fetch();
echo '';
```

Contributors
------------

[](#contributors)

@dragonbe

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16653438?v=4)[driessenstijn](/maintainers/driessenstijn)[@driessenstijn](https://github.com/driessenstijn)

---

Top Contributors

[![driessenstijn](https://avatars.githubusercontent.com/u/16653438?v=4)](https://github.com/driessenstijn "driessenstijn (6 commits)")[![DragonBe](https://avatars.githubusercontent.com/u/282825?v=4)](https://github.com/DragonBe "DragonBe (3 commits)")

### Embed Badge

![Health badge](/badges/driessenstijn-waper/health.svg)

```
[![Health](https://phpackages.com/badges/driessenstijn-waper/health.svg)](https://phpackages.com/packages/driessenstijn-waper)
```

PHPackages © 2026

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