dvasilcenko / sylius-attribute-enabler-plugin
Attribute Enabler plugin for Sylius.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:sylius-plugin
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: 2025-03-21 05:20:17 UTC
README
SyliusAttributeEnablerPlugin allows to enable/disable attributes in Admin panel.
Installation
Require plugin with composer:
composer require dvasilcenko/sylius-attribute-enabler-plugin
Import configuration:
imports: - { resource: "@DvasilcenkoSyliusAttributeEnablerPlugin/Resources/config/app/config.yml" }
Import services:
- { resource: "@DvasilcenkoSyliusAttributeEnablerPlugin/Resources/config/app/services.yml" }
Add plugin class to your AppKernel
:
$bundles = [ new \Dvasilcenko\SyliusAttributeEnablerPlugin\DvasilcenkoSyliusAttributeEnablerPlugin(), ];
Update the database schema
bin/console doctrine:schema:update --force
Copy templates from
vendor/dvasilcenko/sylius-attribute-enabler-plugin/src/Resources/views/SyliusAdminBundle/
to
app/Resources/SyliusAdminBundle/
Clear cache:
bin/console cache:clear
To see form label translations refresh administrators language