spryker-demo / user-profile-feature
User profile [feature]
1.0.0
2025-04-09 16:09 UTC
Requires
- php: >=8.2
- spryker-demo/user-profile: ^1.0.0
- spryker-demo/user-profile-gui: ^1.0.0
README
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(), ]; } }