New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

yard/webmanifest

Creates web app manifests
5,720 1
Install
composer require yard/webmanifest
Latest Version:v1.2.0
PHP:>=8.1
Laravel:10 – 13
License:MIT
Last Updated:Oct 29, 2026
Links: GitHub  ·  Packagist
Maintainer: Yard

wp-webmanifest

Code Style PHPStan Tests Code Coverage Badge Lines of Code Badge

This package for WordPress (Sage & Acorn) automatically generates a manifest.webmanifest JSON file. It also creates maskable versions of the favicon that will be used as the icons.

Requirements

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

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

You can do this by adding them to the icons array in the config

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

Theme settings

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

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

Icon sizes

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

Webmanifest URL path

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

Webmanifest icons url

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

About us

banner

Related Packages

owen-it/laravel-auditing

Audit changes of your Eloquent models in Laravel

43,476,394 3,472
mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

22,513,234 1,979
kyslik/column-sortable

Package for handling column sorting in Laravel 6.x

6,507,424 643
mews/captcha

Laravel 5/6/7/8/9/10/11/12 Captcha Package

6,281,495 2,589
ajthinking/archetype

Programmatically edit PHP and Laravel files.

4,797,093 271

Version History

Version Released PHP License
v1.2.0 >=8.1 MIT
v1.1.1 >=8.1 MIT
v1.1.0 >=8.1 MIT
v1.0.2 >=8.1 MIT
v1.0.1 >=8.1 MIT