spryker-demo/user-profile-feature

User profile [feature]

1.0.0 2025-04-09 16:09 UTC

This package is auto-updated.

Last update: 2025-05-22 16:55:47 UTC


README

Minimum PHP Version

Installation

Install feature

composer require spryker-demo/user-profile-feature

Add SprykerDemo namespace to configuration

$config[KernelConstants::CORE_NAMESPACES] = [
    ...
    'SprykerDemo',
];

Add UserProfileFormExpanderPlugin to UserDependencyProvider

<?php

/**
 * This file is part of the Spryker Commerce OS.
 * For full license information, please view the LICENSE file that was distributed with this source code.
 */

namespace Pyz\Zed\User;

use SprykerDemo\Zed\UserProfileGui\Communication\Plugin\UserProfileFormExpanderPlugin;

class UserDependencyProvider extends SprykerUserDependencyProvider
{
/**
     * @return array<\Spryker\Zed\UserExtension\Dependency\Plugin\UserFormExpanderPluginInterface>
     */
    protected function getUserFormExpanderPlugins(): array
    {
        return [
            new UserProfileFormExpanderPlugin(),
        ];
    }
}