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

0101PHP

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 1mo 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

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

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://www.gravatar.com/avatar/8458059c845e67448cc810d96872669c5255362eb5406fa34a76a785b6b91f10?d=identicon)[driessenstijn](/maintainers/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)
```

###  Alternatives

[lullabot/amp

A set of useful classes and utilities to convert html to AMP html (See https://www.ampproject.org/)

3802.9M10](/packages/lullabot-amp)[pragmarx/coollection

Laravel Illuminate collection with objectified properties

943.4M11](/packages/pragmarx-coollection)[valorin/random

Random is a simple helper package designed to make it easy to generate a range of different cryptographically secure random values.

228188.4k2](/packages/valorin-random)[pragmarx/ia-str

Laravel Illuminate Agnostic Str

523.5M5](/packages/pragmarx-ia-str)[sailenicolas/forceutf8

PHP Class Encoding featuring popular Encoding::toUTF8() function --formerly known as forceUTF8()-- that fixes mixed encoded strings.

53267.9k](/packages/sailenicolas-forceutf8)[prism-php/bedrock

A provider for Prism adding support for AWS Bedrock.

35116.8k1](/packages/prism-php-bedrock)

PHPackages © 2026

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