Wrap classes from 3rd-party dependencies which must be accessed by GraphQL API, so they can be scoped (package `graphql-api/graphql-api-for-wp` is not scoped)
Wrap classes from 3rd-party dependencies which must be accessed by GraphQL API, so they can be scoped (package
graphql-api/graphql-api-for-wp is not scoped)
composer require graphql-api/external-dependency-wrappers
Initialize the component:
\PoP\Root\App::stockAndInitializeModuleClasses([([ \GraphQLAPI\ExternalDependencyWrappers\Module::class, ]);
- PHP 8.1+ for development
- PHP 7.1+ for production
Check the list of Supported PHP features in
Via Rector (dry-run mode):
To check the coding standards via PHP CodeSniffer, run:
To automatically fix issues, run:
Please see CHANGELOG for more information on what has changed recently.
To execute PHPUnit, run:
To execute PHPStan, run:
To report a bug or request a new feature please do it on the PoP monorepo issue tracker.
We welcome contributions for this package on the PoP monorepo (where the source code for this package is hosted).
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
GNU General Public License v2 (or later). Please see License File for more information.