Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sylius Feature Flag Bundle Plugin Laravel Package

em411/sylius-feature-flag-bundle-plugin

View on GitHub
Deep Wiki
Context7
0.2.2

Chores

  • Both em411/sylius-feature-flag-bundle-plugin and em411/feature-flag-bundle are now on Packagist, so the README and composer.json no longer carry the VCS repository workaround. A plain composer require is enough.
  • Bumped actions/checkout to v6 and actions/cache to v5 to move off the deprecated Node.js 20 runtime in GitHub Actions.

No runtime/library changes — safe upgrade from 0.2.1.

Install

composer update em411/sylius-feature-flag-bundle-plugin
0.2.1

Fixes

Added translation keys that were missing in 0.2.0:

  • em411_sylius_feature_flag.ui.new_feature_flag — Create page title
  • em411_sylius_feature_flag.ui.edit_feature_flag — Edit page title
  • bitbag_sylius_acl_plugin.parent.feature_flags — BitBag ACL permission-tree group label

Translations are provided in English (messages.en.yaml) and Polish (messages.pl.yaml).

Install

composer update em411/sylius-feature-flag-bundle-plugin
bin/console cache:clear
0.2.0

Changes

  • Grid actions now render correctly. Switched the admin routing from permission: false to permission: true to match Sylius core admin conventions (e.g. tax_category.yml). Plugins like BitBagCommerce/SyliusAclPlugin override the grid action macro and require permission: true to register routes in their permission tree — without it, the Edit/Delete column is silently filtered out.
  • Dropped the auto-generated show route (except: ['show']) — the plugin has no show template.
  • Added subheader and icon vars so the index page header is properly themed.
  • Added Polish translations (messages.pl.yaml).

Upgrade notes

After updating, clear the cache and grant the Feature flag permission to the appropriate role:

composer update em411/sylius-feature-flag-bundle-plugin
bin/console cache:clear

Then in admin: Configuration → Administrators → Roles, edit the role, and tick the Feature flag entries. Without this step the BitBag ACL plugin filters out the Edit / Delete buttons.

If you are not using an ACL plugin, no further action is required — permission: true falls through Sylius's default authorization checker and behaves like before.

0.1.1

Fixes

  • Widen doctrine/doctrine-bundle constraint to ^1.12 || ^2.0 so the plugin can install into Sylius 1.x projects, which still ship with doctrine-bundle 1.12.

Install

composer require em411/sylius-feature-flag-bundle-plugin:^0.1.1
0.1.0

First release of em411/sylius-feature-flag-bundle-plugin — manage em411/feature-flag-bundle feature flags from the Sylius admin panel.

Compatible with Sylius 1.8 / Symfony 4.4 / PHP 7.4.

  • FeatureFlag Doctrine entity (code, enabled, value, description) registered as a Sylius resource — CRUD, grid and an admin-menu entry under Configuration.
  • DoctrineFeatureFlagProvider feeds flags into em411/feature-flag-bundle's provider chain; loads all flags once per request and resolves each to false (disabled), true (enabled, no value) or the value string (enabled with a value).
  • Tagged at a configurable high priority (provider_priority, default 100) so a database flag overrides a code-defined [@AsFeature](https://github.com/AsFeature) feature of the same code.
  • The bundle self-registers its Doctrine mapping; the host app needs no Doctrine configuration.

See the README for installation (VCS repository entries, bundle registration, routing import, migration).

Verified: full test suite green (16 tests) on PHP 7.4, including an integration test that boots a Sylius resource/grid kernel.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings