• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wp-graphql / wp-graphql / #943

11 Feb 2025 10:07PM UTC coverage: 83.028% (-0.2%) from 83.19%
#943

push

php-coveralls

web-flow
Merge pull request #3306 from wp-graphql/release/v1.32.0

release: v1.32.0

66 of 113 new or added lines in 5 files covered. (58.41%)

1 existing line in 1 file now uncovered.

13057 of 15726 relevant lines covered (83.03%)

299.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Admin/Extensions/Registry.php
1
<?php
2
/**
3
 * Registry of WPGraphQL Extensions
4
 *
5
 * @todo This will eventually be replaced with a server registry.
6
 *
7
 * @package WPGraphQL\Admin\Extensions
8
 * @since 1.30.0
9
 */
10

11
namespace WPGraphQL\Admin\Extensions;
12

13
/**
14
 * Class Registry
15
 *
16
 * @phpstan-type Extension array{
17
 *  name: non-empty-string,
18
 *  description: non-empty-string,
19
 *  plugin_url: non-empty-string,
20
 *  support_url: non-empty-string,
21
 *  documentation_url: non-empty-string,
22
 *  repo_url?: string,
23
 *  author: array{
24
 *   name: non-empty-string,
25
 *   homepage?: string,
26
 *  },
27
 * }
28
 */
29
final class Registry {
30
        /**
31
         * Gets the registry of WPGraphQL Extensions.
32
         *
33
         * @see docs/submit-extensions.md for more information on how to submit an extension.
34
         *
35
         * Fields:
36
         * - name: Required. The name of the extension.
37
         * - description: Required. A description of the extension.
38
         * - plugin_url: Required. The URL to the plugin.
39
         * - repo_url: Optional. The URL to the repository for the plugin.
40
         * - support_url: Required. The URL to the support page for the plugin.
41
         * - documentation_url: Required. The URL to the documentation for the plugin.
42
         * - author: Required. An array with the following fields:
43
         *   - name: Required. The name of the author.
44
         *   - homepage: Optional. The URL to the author's homepage.
45
         *
46
         * Array keys are solely used to sort the array and prevent merge conflicts when diffing. They should be unique.
47
         *
48
         * @return array<string,Extension>
49
         */
50
        public static function get_extensions(): array {
51
                return [
×
NEW
52
                        'wp-graphql/wp-graphql-smart-cache'  => [
×
53
                                'name'              => 'WPGraphQL Smart Cache',
×
54
                                'description'       => 'A smart cache for WPGraphQL that caches only the data you need.',
×
55
                                'documentation_url' => 'https://github.com/wp-graphql/wp-graphql-smart-cache',
×
56
                                'plugin_url'        => 'https://wordpress.org/plugins/wp-graphql-smart-cache/',
×
57
                                'support_url'       => 'https://github.com/wp-graphql/wp-graphql-smart-cache/issues/new/choose',
×
58
                                'author'            => [
×
59
                                        'name'     => 'WPGraphQL',
×
60
                                        'homepage' => 'https://wpgraphql.com',
×
61
                                ],
×
62
                        ],
×
NEW
63
                        'wp-graphql/wpgraphql-acf'           => [
×
64
                                'name'              => 'WPGraphQL for Advanced Custom Fields',
×
65
                                'description'       => 'WPGraphQL for ACF is a FREE, open source WordPress plugin that exposes ACF Field Groups and Fields to the WPGraphQL Schema, enabling powerful decoupled solutions with modern frontends.',
×
66
                                'documentation_url' => 'https://acf.wpgraphql.com/',
×
67
                                'plugin_url'        => 'https://wordpress.org/plugins/wpgraphql-acf/',
×
68
                                'support_url'       => 'https://github.com/wp-graphql/wpgraphql-acf/issues/new/choose',
×
69
                                'author'            => [
×
70
                                        'name'     => 'WPGraphQL',
×
71
                                        'homepage' => 'https://wpgraphql.com',
×
72
                                ],
×
73
                        ],
×
NEW
74
                        'ashhitch/wp-graphql-yoast-seo'      => [
×
75
                                'name'              => 'WPGraphQL Yoast SEO Addon',
×
76
                                'description'       => 'This plugin enables Yoast SEO Support for WPGraphQL',
×
77
                                'documentation_url' => 'https://github.com/ashhitch/wp-graphql-yoast-seo',
×
78
                                'plugin_url'        => 'https://wordpress.org/plugins/add-wpgraphql-seo/',
×
79
                                'support_url'       => 'https://github.com/wp-graphql/wpgraphql-acf/issues/new/choose',
×
80
                                'author'            => [
×
81
                                        'name'     => 'Ash Hitchcock',
×
82
                                        'homepage' => 'https://www.ashleyhitchcock.com/',
×
83
                                ],
×
84
                        ],
×
NEW
85
                        'axepress/wp-graphql-gravity-forms'  => [
×
NEW
86
                                'name'              => 'WPGraphQL for Gravity Forms',
×
NEW
87
                                'description'       => 'Adds Gravity Forms support to WPGraphQL',
×
NEW
88
                                'documentation_url' => 'https://github.com/axewp/wp-graphql-gravity-forms',
×
NEW
89
                                'plugin_url'        => 'https://github.com/axewp/wp-graphql-gravity-forms',
×
NEW
90
                                'support_url'       => 'https://github.com/axewp/wp-graphql-gravity-forms/issues/new/choose',
×
NEW
91
                                'author'            => [
×
NEW
92
                                        'name'     => 'AxePress Development',
×
NEW
93
                                        'homepage' => 'https://axepress.dev',
×
NEW
94
                                ],
×
NEW
95
                        ],
×
NEW
96
                        'axepress/wp-graphql-headless-login' => [
×
NEW
97
                                'name'              => 'Headless Login for WPGraphQL',
×
NEW
98
                                'description'       => 'A WordPress plugin that provides headless login and authentication for WPGraphQL, supporting traditional passwords, OAuth2/OIDC, JWT, cookies, header management, and more.',
×
NEW
99
                                'documentation_url' => 'https://github.com/axewp/wp-graphql-headless-login',
×
NEW
100
                                'plugin_url'        => 'https://github.com/axewp/wp-graphql-headless-login',
×
NEW
101
                                'support_url'       => 'https://github.com/axewp/wp-graphql-headless-login/issues/new/choose',
×
NEW
102
                                'author'            => [
×
NEW
103
                                        'name'     => 'AxePress Development',
×
NEW
104
                                        'homepage' => 'https://axepress.dev',
×
NEW
105
                                ],
×
NEW
106
                        ],
×
NEW
107
                        'axepress/wp-graphql-rank-math'      => [
×
NEW
108
                                'name'              => 'WPGraphQL for Rank Math SEO',
×
NEW
109
                                'description'       => 'Adds Rank Math SEO support to WPGraphQL',
×
NEW
110
                                'documentation_url' => 'https://github.com/axewp/wp-graphql-rank-math',
×
NEW
111
                                'plugin_url'        => 'https://github.com/axewp/wp-graphql-rank-math',
×
NEW
112
                                'support_url'       => 'https://github.com/axewp/wp-graphql-rank-math/issues',
×
NEW
113
                                'author'            => [
×
NEW
114
                                        'name'     => 'AxePress Development',
×
NEW
115
                                        'homepage' => 'https://axepress.dev',
×
NEW
116
                                ],
×
NEW
117
                        ],
×
UNCOV
118
                ];
×
119
        }
120
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc