{"id":352285,"date":"2026-09-03T03:25:48","date_gmt":"2026-09-03T03:25:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/myrk-feature-flags\/"},"modified":"2026-09-03T03:25:11","modified_gmt":"2026-09-03T03:25:11","slug":"myrk-feature-flags","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/myrk-feature-flags\/","author":756849,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1","requires":"7.0","requires_php":"8.1","requires_plugins":null,"header_name":"Myrk Feature Flags","header_author":"Bjorn Holine","header_description":"Enterprise feature flags for WordPress. Per-environment control, percentage rollout, user targeting, and stale flag detection.","assets_banners_color":"133839","last_updated":"2026-09-03 03:25:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/myrk.build","header_author_uri":"https:\/\/github.com\/bjorn2404","rating":0,"author_block_rating":0,"active_installs":0,"downloads":35,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"Bjorn2404","date":"2026-09-03 03:25:11","revision":3678899}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3678903,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3678903,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3678903,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3678903,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":3678920,"resolution":"5","location":"plugin","width":1512,"height":702},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3678920,"resolution":"4","location":"plugin","width":1512,"height":702},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3678920,"resolution":"2","location":"plugin","width":1512,"height":702},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3678920,"resolution":"1","location":"plugin","width":1512,"height":702},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3678920,"resolution":"3","location":"plugin","width":1512,"height":702}},"screenshots":{"1":"Flags list \u2014 group badges, enabled\/disabled status pills, rollout percentage bars, target counts, and stale badges across a realistic set of flags.","2":"Groups screen \u2014 feature-area groups and sprint groups each showing flag counts and optional external reference links.","3":"Edit flag (top) \u2014 flag definition card alongside the rollout panel (enabled toggle and percentage slider) and auto-generated PHP\/JS code snippets.","4":"Edit flag (bottom) \u2014 behavior settings (lifecycle, default state, rewind strategy) and a targeting rule locking the flag on for administrators.","5":"Stale flag detection \u2014 three flags backdated past the 90-day threshold each displaying a STALE badge, demonstrating the built-in hygiene signal."}},"plugin_section":[],"plugin_tags":[1588,4932,163165,278944,278945],"plugin_category":[],"plugin_contributors":[278946],"plugin_business_model":[],"class_list":["post-352285","plugin","type-plugin","status-publish","hentry","plugin_tags-a-b-testing","plugin_tags-developer-tools","plugin_tags-feature-flags","plugin_tags-feature-toggles","plugin_tags-progressive-rollout","plugin_contributors-bjorn2404","plugin_committers-bjorn2404"],"banners":{"banner":"https:\/\/ps.w.org\/myrk-feature-flags\/assets\/banner-772x250.png?rev=3678903","banner_2x":"https:\/\/ps.w.org\/myrk-feature-flags\/assets\/banner-1544x500.png?rev=3678903","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/myrk-feature-flags\/assets\/icon-128x128.png?rev=3678903","icon_2x":"https:\/\/ps.w.org\/myrk-feature-flags\/assets\/icon-256x256.png?rev=3678903","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/myrk-feature-flags\/trunk\/screenshot-1.png?rev=3678920","caption":"Flags list \u2014 group badges, enabled\/disabled status pills, rollout percentage bars, target counts, and stale badges across a realistic set of flags."},{"src":"https:\/\/ps.w.org\/myrk-feature-flags\/trunk\/screenshot-2.png?rev=3678920","caption":"Groups screen \u2014 feature-area groups and sprint groups each showing flag counts and optional external reference links."},{"src":"https:\/\/ps.w.org\/myrk-feature-flags\/trunk\/screenshot-3.png?rev=3678920","caption":"Edit flag (top) \u2014 flag definition card alongside the rollout panel (enabled toggle and percentage slider) and auto-generated PHP\/JS code snippets."},{"src":"https:\/\/ps.w.org\/myrk-feature-flags\/trunk\/screenshot-4.png?rev=3678920","caption":"Edit flag (bottom) \u2014 behavior settings (lifecycle, default state, rewind strategy) and a targeting rule locking the flag on for administrators."},{"src":"https:\/\/ps.w.org\/myrk-feature-flags\/trunk\/screenshot-5.png?rev=3678920","caption":"Stale flag detection \u2014 three flags backdated past the 90-day threshold each displaying a STALE badge, demonstrating the built-in hygiene signal."}],"raw_content":"<!--section=description-->\n<p>WordPress feature flags and feature toggles built for development teams shipping on complex sites. No external feature flag service, no Redis, no third-party account \u2014 all state lives in your WordPress database.<\/p>\n\n<p><strong>Define flags in code. Control state from the admin.<\/strong><\/p>\n\n<p>Register feature flags in your plugin or theme \u2014 version controlled and peer reviewable. Enable, disable, and roll out per environment without code changes or redeploys.<\/p>\n\n<p>Designed for teams practicing trunk-based development and continuous delivery \u2014 merge to main confidently and control what users see from the database.<\/p>\n\n<h4>Coming from a SaaS feature flag service?<\/h4>\n\n<p>Myrk works differently: your codebase is the source of truth. Flags are declared with <code>Myrk::register()<\/code> in PHP and committed to your repo \u2014 they appear in the admin automatically. The admin controls state only; it does not create flags. This keeps your flag inventory version controlled and peer reviewed, the same as everything else in your codebase.<\/p>\n\n<h4>Key features<\/h4>\n\n<ul>\n<li><strong>Code-registered flags<\/strong> \u2014 <code>Myrk::register()<\/code> in PHP, reviewed in Git<\/li>\n<li><strong>Per-environment state<\/strong> \u2014 uses <code>wp_get_environment_type()<\/code> automatically<\/li>\n<li><strong>Progressive rollout<\/strong> \u2014 deterministic percentage rollout, no cookies required<\/li>\n<li><strong>Targeting rules<\/strong> \u2014 role, capability, user ID, email domain<\/li>\n<li><strong>Circuit breaker<\/strong> \u2014 <code>Myrk::attempt()<\/code> wraps risky code with automatic fallback<\/li>\n<li><strong>Stale flag detection<\/strong> \u2014 visual badge for feature toggles inactive 90+ days<\/li>\n<li><strong>REST API<\/strong> \u2014 full CRUD, powers admin UI and CI\/CD pipeline automation<\/li>\n<li><strong>WP-CLI<\/strong> \u2014 complete feature flag management from the command line<\/li>\n<li><strong>No external dependencies<\/strong> \u2014 no Redis, no Node, no third-party service<\/li>\n<\/ul>\n\n<h3>Source Code<\/h3>\n\n<p>The compiled JavaScript in <code>build\/<\/code> is generated from source files in <code>assets\/js\/<\/code> using <code>@wordpress\/scripts<\/code> (webpack). Both the source and compiled files are included in the plugin zip. To rebuild the compiled assets, install Node.js dependencies with <code>pnpm install<\/code> and run <code>pnpm build<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>myrk-feature-flags<\/code> directory to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin in <strong>Plugins &gt; Installed Plugins<\/strong>.<\/li>\n<li>Navigate to <strong>Myrk<\/strong> in the admin menu.<\/li>\n<li>Register your first flag in code: <code>Myrk::register( 'my_flag', [ 'label' =&gt; 'My Flag' ] );<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20myrk%20require%20any%20external%20services%3F\"><h3>Does Myrk require any external services?<\/h3><\/dt>\n<dd><p>No. Myrk stores all data in your WordPress database and requires no external infrastructure.<\/p><\/dd>\n<dt id=\"what%20php%20version%20is%20required%3F\"><h3>What PHP version is required?<\/h3><\/dt>\n<dd><p>PHP 8.1 or higher. Myrk targets enterprise WordPress teams on modern hosting stacks.<\/p><\/dd>\n<dt id=\"how%20does%20percentage%20rollout%20work%3F\"><h3>How does percentage rollout work?<\/h3><\/dt>\n<dd><p>Myrk uses a deterministic CRC32 hash of the flag key and user identifier. The same user always gets the same flag state for a given percentage \u2014 no cookies required.<\/p><\/dd>\n<dt id=\"can%20i%20use%20myrk%20for%20a%2Fb%20testing%3F\"><h3>Can I use Myrk for A\/B testing?<\/h3><\/dt>\n<dd><p>Yes. The percentage rollout uses deterministic hashing \u2014 the same user always sees the same variant without cookies. Pair it with your existing analytics to track outcomes. Myrk controls the split; you measure the results.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"WordPress feature flags and feature toggles with progressive rollout, per-environment control, user targeting, and circuit breaker protection.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/352285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=352285"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bjorn2404"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=352285"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=352285"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=352285"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=352285"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=352285"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=352285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}