{"id":51227939,"url":"https://github.com/yardinternet/wp-webmanifest","last_synced_at":"2026-06-28T13:01:39.082Z","repository":{"id":327410190,"uuid":"879722742","full_name":"yardinternet/wp-webmanifest","owner":"yardinternet","description":"Creates web app manifests","archived":false,"fork":false,"pushed_at":"2026-06-16T01:21:17.000Z","size":533,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-16T03:13:59.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yardinternet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-28T12:43:47.000Z","updated_at":"2026-06-16T01:21:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yardinternet/wp-webmanifest","commit_stats":null,"previous_names":["yardinternet/yard-webmanifest"],"tags_count":6,"template":false,"template_full_name":"yardinternet/skeleton-package","purl":"pkg:github/yardinternet/wp-webmanifest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yardinternet%2Fwp-webmanifest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yardinternet%2Fwp-webmanifest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yardinternet%2Fwp-webmanifest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yardinternet%2Fwp-webmanifest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yardinternet","download_url":"https://codeload.github.com/yardinternet/wp-webmanifest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yardinternet%2Fwp-webmanifest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34889047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-28T13:01:37.379Z","updated_at":"2026-06-28T13:01:39.069Z","avatar_url":"https://github.com/yardinternet.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-webmanifest\n\n[![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)\n[![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)\n[![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)\n[![Code Coverage Badge](https://github.com/yardinternet/yard-webmanifest/blob/badges/coverage.svg)](https://github.com/yardinternet/yard-webmanifest/actions/workflows/badges.yml)\n[![Lines of Code Badge](https://github.com/yardinternet/yard-webmanifest/blob/badges/lines-of-code.svg)](https://github.com/yardinternet/yard-webmanifest/actions/workflows/badges.yml)\n\nThis package for WordPress (Sage \u0026 Acorn) automatically generates a\n[manifest.webmanifest](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest) JSON file.\nIt also creates maskable versions of the favicon that will be used as\nthe [icons](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/icons).\n\n## Requirements\n\n- [Sage](https://github.com/roots/sage) \u003e= 10.0\n- [Acorn](https://github.com/roots/acorn) \u003e= 4.0\n\n## Installation\n\nTo install this package using Composer, follow these steps:\n\n1. Install this package with Composer:\n\n    ```sh\n    composer require yard/webmanifest\n    ```\n\n2. Run the Acorn WP-CLI command to discover this package:\n\n    ```shell\n    wp acorn package:discover\n    ```\n\nYou can publish the config file with:\n\n```shell\nwp acorn vendor:publish --provider=\"Yard\\Webmanifest\\WebmanifestServiceProvider\"\n```\n\n## Usage\n\nIn theory you don't have to do anything, the Webmanifest works out of the box.\nThis packages uses the favicon set in the theme to generate icons.\n\nBut you can alter behavior via the configuration.\n\n### Manually configuring icons\n\nYou can do this by adding them to the `icons` array in the [config](./config/webmanifest.php)\n\n```php\n'icons' =\u003e [\n  [\n    'src' =\u003e 'path/to/icon.png',\n    'sizes' =\u003e '192x192',\n    'type' =\u003e 'image/png',\n  ],\n],\n```\n\n### Theme settings\n\nYou can set the background and theme color by changing the config values below.\n\n```php\n'background_color' =\u003e '#add8eb',\n'theme_color' =\u003e '#ffffff',\n```\n\n### Icon sizes\n\n```php\n'iconSizes' =\u003e [192, 384, 512, 1024],\n```\n\n### Webmanifest URL path\n\n```php\n'url' =\u003e '/manifest.webmanifest',\n```\n\n### Webmanifest icons url\n\n```php\n'iconUrl' =\u003e '/webmanifest/icon',\n```\n\n## About us\n\n[![banner](https://raw.githubusercontent.com/yardinternet/.github/refs/heads/main/profile/assets/small-banner-github.svg)](https://www.yard.nl/werken-bij/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyardinternet%2Fwp-webmanifest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyardinternet%2Fwp-webmanifest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyardinternet%2Fwp-webmanifest/lists"}