← Fancy UI Curriculum

Commerce

Catalog, feature gating and metering, referral networks — the headless half of the suite that has no UI to inhabit.

0/1 lessons

0%

A catalog is not a feature gate

~8 min

laravel-catalog handles products, prices, plans and checkout against Stripe. laravel-fms handles feature flags and metered-resource gating. They are separate because the questions are separate: what did they buy and what may they do right now are not the same question, and apps that conflate them end up unable to grant a feature without inventing a fake purchase.

They meet at a shared FeatureSource contract — features owns it, catalog mirrors it — so a plan can grant a feature without either package importing the other.

Both ship matched Node twins (fancy-catalog-js, fancy-features-js), which is the suite-wide pattern: most server capabilities exist as a PHP + Node pair so the same feature works behind the same UI whichever backend runs it.