PHPackages                             yard/webmanifest - 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. yard/webmanifest

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

yard/webmanifest
================

Creates web app manifests

v1.2.0(1y ago)11.3k↓37%MITPHPPHP &gt;=8.1CI passing

Since Oct 29Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/yardinternet/wp-webmanifest)[ Packagist](https://packagist.org/packages/yard/webmanifest)[ RSS](/packages/yard-webmanifest/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (10)Versions (9)Used By (0)

wp-webmanifest
==============

[](#wp-webmanifest)

[![Code Style](https://github.com/yardinternet/yard-webmanifest/actions/workflows/format-php.yml/badge.svg?no-cache)](https://github.com/yardinternet/yard-webmanifest/actions/workflows/format-php.yml)[![PHPStan](https://github.com/yardinternet/yard-webmanifest/actions/workflows/phpstan.yml/badge.svg?no-cache)](https://github.com/yardinternet/yard-webmanifest/actions/workflows/phpstan.yml)[![Tests](https://github.com/yardinternet/yard-webmanifest/actions/workflows/run-tests.yml/badge.svg?no-cache)](https://github.com/yardinternet/yard-webmanifest/actions/workflows/run-tests.yml)[![Code Coverage Badge](https://github.com/yardinternet/yard-webmanifest/raw/badges/coverage.svg)](https://github.com/yardinternet/yard-webmanifest/actions/workflows/badges.yml)[![Lines of Code Badge](https://github.com/yardinternet/yard-webmanifest/raw/badges/lines-of-code.svg)](https://github.com/yardinternet/yard-webmanifest/actions/workflows/badges.yml)

This package for WordPress (Sage &amp; Acorn) automatically generates a [manifest.webmanifest](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest) JSON file. It also creates maskable versions of the favicon that will be used as the [icons](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/icons).

Requirements
------------

[](#requirements)

- [Sage](https://github.com/roots/sage) &gt;= 10.0
- [Acorn](https://github.com/roots/acorn) &gt;= 4.0

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

[](#installation)

To install this package using Composer, follow these steps:

1. Install this package with Composer:

    ```
    composer require yard/webmanifest
    ```
2. Run the Acorn WP-CLI command to discover this package:

    ```
    wp acorn package:discover
    ```

You can publish the config file with:

```
wp acorn vendor:publish --provider="Yard\Webmanifest\WebmanifestServiceProvider"
```

Usage
-----

[](#usage)

In theory you don't have to do anything, the Webmanifest works out of the box. This packages uses the favicon set in the theme to generate icons.

But you can alter behavior via the configuration.

### Manually configuring icons

[](#manually-configuring-icons)

You can do this by adding them to the `icons` array in the [config](./config/webmanifest.php)

```
'icons' => [
  [
    'src' => 'path/to/icon.png',
    'sizes' => '192x192',
    'type' => 'image/png',
  ],
],
```

### Theme settings

[](#theme-settings)

You can set the background and theme color by changing the config values below.

```
'background_color' => '#add8eb',
'theme_color' => '#ffffff',
```

### Icon sizes

[](#icon-sizes)

```
'iconSizes' => [192, 384, 512, 1024],
```

### Webmanifest URL path

[](#webmanifest-url-path)

```
'url' => '/manifest.webmanifest',
```

### Webmanifest icons url

[](#webmanifest-icons-url)

```
'iconUrl' => '/webmanifest/icon',
```

About us
--------

[](#about-us)

[![banner](https://raw.githubusercontent.com/yardinternet/.github/refs/heads/main/profile/assets/small-banner-github.svg)](https://www.yard.nl/werken-bij/)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance68

Regular maintenance activity

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.2% 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 ~14 days

Total

6

Last Release

496d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.0

v1.0.1PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/62775?v=4)[Anton Zhuravsky](/maintainers/Yard)[@yard](https://github.com/yard)

---

Top Contributors

[![FreakyWizard](https://avatars.githubusercontent.com/u/114140418?v=4)](https://github.com/FreakyWizard "FreakyWizard (64 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (43 commits)")[![ictbeheer](https://avatars.githubusercontent.com/u/14947039?v=4)](https://github.com/ictbeheer "ictbeheer (2 commits)")[![SimonvanWijhe](https://avatars.githubusercontent.com/u/41121933?v=4)](https://github.com/SimonvanWijhe "SimonvanWijhe (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/yard-webmanifest/health.svg)

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

###  Alternatives

[helgesverre/extractor

AI-Powered Data Extraction for your Laravel application.

22128.0k](/packages/helgesverre-extractor)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

188.5k](/packages/tarfin-labs-event-machine)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[ymsoft/filament-money

Filament plugin for convenient storage and management of monetary fields

103.4k](/packages/ymsoft-filament-money)

PHPackages © 2026

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