scandipwa / customer-graph-ql

scandipwa/customer-graph-ql

N/A

magento2-module Compatibility: 2.4.7 Code Quality: Fail Tests: N/A Security: Pass OSL-3.0

Are you the maintainer of scandipwa?

Packagento pulls scandipwa's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

ScandiPWA_CustomerGraphQl

CustomerGraphQl provides type and resolver information for the GraphQl module
to generate customer information endpoints.

This module extends the M2 GraphQl customer queries and mutations.
New endpoints will be documented in future releases.

Custom query documentation

Mutation forgotPassword

mutation ForgotPassword($email: String!) {
  	forgotPassword(email: $email) {
  		status
	}
}

The variables for input above might look like:

{
    "email": "[email protected]"
}

Mutation resetPassword

mutation ResetPassword(
  $token: String!,
  $password: String!,
  $password_confirmation: String!
) {
  resetPassword(
    token: $token,
  	password: $password,
  	password_confirmation: $password_confirmation
  ) {
    status
  }
}
{
  "token": "7nk0Ch7D5SZsPHWKycAyGdonAM9MnHRw",
  "password": "MyNewPassword123_",
	"password_confirmation": "MyNewPassword123_"
}

Mutation confirmCustomerEmail

Here is an example use of it:

mutation ConfirmCustomerEmail(
    $password: String!
    $key: String!
    $email: String!
) {
    confirmCustomerEmail(
        password: $password
        key: $key
        email: $email
    ) {
        status
        token
        customer {
            id
            firstname
            lastname
            email
            is_subscribed
            addresses {
                city
                country_id
                street
                telephone
                firstname
                lastname
                postcode
                street
                default_shipping
                default_billing
            }
        }
    }
}

The variables for input above might look like:

{
    "key": "0129309912",
    "email": "[email protected]",
    "password": "Testing123_"
}

Mutation resendConfirmationEmail

⚠️ This is not tested but implemented !!! ⚠️

Here is an example use of it:

mutation ResendConfirmationEmail(
    $email: String!
) {
    resendConfirmationEmail(
        email: $email
    ) {
        status
    }
}

The variables for input above might look like:

{
    "email": "[email protected]"
}

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
4.1.0 stable Fail Magento 2.4.7 Details 2024-07-14 20:32:05
4.0.5 stable Not tested Not yet tested Details 2023-04-12 07:35:12
4.0.4 stable Not tested Not yet tested Details 2022-07-27 11:33:03
4.0.3 stable Not tested Not yet tested Details 2022-07-16 15:21:18
4.0.2 stable Not tested Not yet tested Details 2022-07-11 11:43:13
4.0.1 stable Not tested Not yet tested Details 2022-07-06 15:48:55
4.0.0 stable Not tested Not yet tested Details 2022-06-24 17:35:58
3.1.14 stable Not tested Not yet tested Details 2022-06-09 19:09:48
3.1.13 stable Not tested Not yet tested Details 2022-05-26 22:56:43
3.1.12 stable Not tested Not yet tested Details 2022-03-30 14:11:03
3.1.11 stable Not tested Not yet tested Details 2022-03-21 21:58:58
3.1.10 stable Not tested Not yet tested Details 2022-02-08 22:40:13
3.1.9 stable Not tested Not yet tested Details 2021-12-06 14:49:51
3.1.8 stable Not tested Not yet tested Details 2021-11-05 10:05:37
3.1.7 stable Not tested Not yet tested Details 2021-11-04 01:36:59
3.1.6 stable Not tested Not yet tested Details 2021-10-28 17:34:16
3.1.5 stable Not tested Not yet tested Details 2021-10-28 00:05:42
3.1.4 stable Not tested Not yet tested Details 2021-10-21 19:42:35
3.1.3 stable Not tested Not yet tested Details 2021-07-14 15:09:39
3.1.2 stable Not tested Not yet tested Details 2021-06-09 07:40:18
3.1.1 stable Not tested Not yet tested Details 2021-05-03 13:35:12
3.1.0 stable Not tested Not yet tested Details 2021-04-26 16:04:33
3.0.0 stable Not tested Not yet tested Details 2021-02-10 11:52:17
2.3.0 stable Not tested Not yet tested Details 2020-09-07 10:59:40
2.2.3 stable Not tested Not yet tested Details 2020-06-10 14:35:44
2.2.2 stable Not tested Not yet tested Details 2020-05-25 08:51:50
2.2.1 stable Not tested Not yet tested Details 2020-03-19 15:31:02
2.2.0 stable Not tested Not yet tested Details 2020-03-19 15:28:46
2.1.0 stable Not tested Not yet tested Details 2019-12-05 09:13:31
1.2.1 stable Not tested Not yet tested Details 2019-08-01 09:44:36
2.0.0 stable Not tested Not yet tested Details 2019-07-29 11:44:29
1.2.0 stable Not tested Not yet tested Details 2019-06-12 10:45:53
1.1.0 stable Not tested Not yet tested Details 2019-03-27 09:23:49
1.0.0 stable Not tested Not yet tested Details 2019-03-26 17:46:07

Requires 8

Package Constraint
magento/framework *
magento/module-store *
magento/module-catalog *
magento/module-graph-ql *
magento/module-authorization *
magento/module-integration *
magento/module-customer *
magento/module-customer-graph-ql ^100.3

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Fail di error Fail di error
2.4.9 Fail di error Fail di error

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 51 51 warnings (ruleset: Magento2) — 32 auto-fixable with phpcbf
PHPMD Warning 4 4 rule violations (UnusedPrivateField:2, ExcessiveParameterList:1, UnusedFormalParameter:1)
Cpd Pass 0
Composer validate Info 7 valid; 7 advisory notes (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 12 12
2.4.8 13 28
2.4.9 29 29

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0

More from scandipwa

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.