dvasilcenko / sylius-attribute-enabler-plugin
Sylius的属性启用插件。
v1.0.0
2018-06-25 19:03 UTC
Requires
- php: ^7.1
- sylius/sylius: ~1.2.0
- symfony/symfony: ^3.4|^4.1
Requires (Dev)
- behat/behat: ^3.4
- behat/mink: ^1.7@dev
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- friends-of-behat/context-service-extension: ^1.2
- friends-of-behat/cross-container-extension: ^1.1
- friends-of-behat/service-container-extension: ^1.0
- friends-of-behat/symfony-extension: ^1.2.1
- friends-of-behat/variadic-extension: ^1.1
- lakion/mink-debug-extension: ^1.2.3
- phpspec/phpspec: ^4.0
- phpstan/phpstan-shim: ^0.9.2
- phpunit/phpunit: ^6.5
- sylius-labs/coding-standard: ^2.0
This package is not auto-updated.
Last update: 2024-09-20 02:54:11 UTC
README
SyliusAttributeEnablerPlugin 允许在管理面板中启用/禁用属性。
安装
使用Composer要求插件
composer require dvasilcenko/sylius-attribute-enabler-plugin
导入配置
imports: - { resource: "@DvasilcenkoSyliusAttributeEnablerPlugin/Resources/config/app/config.yml" }
导入服务
- { resource: "@DvasilcenkoSyliusAttributeEnablerPlugin/Resources/config/app/services.yml" }
将插件类添加到您的 AppKernel
$bundles = [ new \Dvasilcenko\SyliusAttributeEnablerPlugin\DvasilcenkoSyliusAttributeEnablerPlugin(), ];
更新数据库模式
bin/console doctrine:schema:update --force
从
vendor/dvasilcenko/sylius-attribute-enabler-plugin/src/Resources/views/SyliusAdminBundle/
复制模板到
app/Resources/SyliusAdminBundle/
清除缓存
bin/console cache:clear
要查看表单标签翻译,请刷新管理员语言