liberusoftware/feature-flags-api
liberusoftware/feature-flags-api is a Laravel/PHP package for exposing and managing feature flags through an API. Use it to define flags, check enabled state, and toggle features for controlled rollouts or environment-specific behavior.
Architecture fit. This package is described as a “Feature Flags api presentation adapter,” so it should be evaluated as an HTTP/API presentation layer over a feature-flag domain module, not as a complete feature-flag engine. It fits only if the organization is already standardizing on the Liberu modular Laravel ecosystem and needs a thin API adapter over that domain. In a conventional Laravel application it can sit at the edge/API boundary, but it creates coupling to an unproven package family. Prefer wrapping it behind an internal FeatureFlagClient interface so the adapter can be replaced.
Integration feasibility. Likely installable via Composer with Laravel package auto-discovery, but feasibility is medium-low until the repository is inspected. Critical unknowns include required core modules, service-provider behavior, route/middleware registration, configuration, migrations, auth model, and PHP/Laravel version constraints. With 0 stars, 0 dependents, and no visible adoption, there is little integration evidence. A sandbox install and contract test are mandatory before any pilot.
Technical risk. High. The package has 0 stars, 0 dependents, a low overall score of 19.8, and a NOASSERTION license, which is a legal-review blocker for commercial use until clarified. The last-release date of 2026-10-26 is future-dated relative to the current date, indicating metadata or release-process anomaly. There is no indicated commercial support, and a thin adapter can still carry transitive dependency, security, and abandonment risk. Exposed flag-management endpoints also require authorization, tenancy isolation, rate limiting, and audit logging.
Key questions. What backing feature-flag engine and core package does this adapter require? What are the supported PHP/Laravel versions? What API contract, authentication, and multi-tenancy model does it expose? Are flag evaluation and caching local or delegated? What test coverage and security posture exist? What is the actual license? Why is the release date anomalous? Who maintains it, and what is the commitment/roadmap?
Stack fit. Good only for Laravel/PHP services, especially modular Laravel applications aligned with Liberu conventions. Poor fit for non-Laravel stacks or teams already standardized on LaunchDarkly, Unleash, Flagsmith, or an internal flag service. If the organization does not need an API presentation adapter specifically, this package adds indirection without clear value.
Migration path. Do not replace an existing feature-flag system directly. Pilot this adapter behind an internal interface, map existing flag keys/segments, and run dual-read or shadow evaluation against the current provider. Keep the existing provider as fallback until parity, latency, and failure behavior are proven. Avoid importing package-specific models or routes into domain code.
Compatibility. Verify PHP and Laravel constraints, Composer dependency tree, database migrations, route collisions, middleware assumptions, and auth/tenancy requirements. Confirm whether the repository name and package name align and whether it depends on a separate feature-flags core module. Add contract tests around endpoint shape, status codes, flag evaluation semantics, and error handling before committing.
Sequencing. First complete legal/license review and dependency/SBOM inspection. Then run a sandbox install with the minimum Laravel app, inspect service provider and routes, and execute contract tests. Next perform security review for authz, tenancy, and rate limiting. Only then run a non-critical pilot with observability. Decide to adopt, fork, or reject based on evidence; do not place it on a critical path before these gates.
Maintenance. Expect a high maintenance burden relative to package size. Low adoption and unclear release history mean the team should pin versions, monitor upstream changes, and be prepared to fork or vendor the adapter. If the capability becomes important, assign an internal owner rather than relying on upstream responsiveness.
Support. No commercial support is indicated. Support is effectively community-only or self-supported, with no clear escalation path. For production use, require an internal runbook, named owner, and an agreed response process for upstream defects or abandonment.
Scaling. The adapter itself is likely thin, so scaling depends mainly on the backing flag store/API. However, flag evaluation on the request path can add latency and failure exposure. Require local caching, sensible defaults, and asynchronous or edge evaluation where possible. Load-test the full path, not just the adapter.
Failure modes. Backing API outages could cause stale or default flag values; auth misconfiguration could produce 401/403 failures; version drift could break routes or payloads; package abandonment could block Laravel upgrades; and license ambiguity could force removal. Define fail-open versus fail-closed behavior per flag and test degraded modes.
Ramp-up. Code-level ramp-up should be low for Laravel engineers, but discovery ramp-up is high because documentation and adoption signals are weak. Budget one to two engineers for a time-boxed spike, plus legal and security review. Treat this as an experimental adapter, not a quick production win.
How can I help you explore Laravel packages today?