{"id":13828200,"url":"https://github.com/ylsideas/feature-flags","last_synced_at":"2025-10-06T08:08:24.159Z","repository":{"id":37431223,"uuid":"196839364","full_name":"ylsideas/feature-flags","owner":"ylsideas","description":"A Laravel package for handling feature flags","archived":false,"fork":false,"pushed_at":"2025-05-11T09:55:18.000Z","size":242,"stargazers_count":620,"open_issues_count":0,"forks_count":39,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-10-06T03:44:57.018Z","etag":null,"topics":["dark-launch","dark-launching","feature","feature-flags","feature-toggles","flags","hacktoberfest","laravel","laravel-feature-flags","laravel10","laravel11","laravel9","php","php8","toggles"],"latest_commit_sha":null,"homepage":"https://feature-flags.docs.ylsideas.co/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ylsideas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"peterfox"}},"created_at":"2019-07-14T13:24:00.000Z","updated_at":"2025-10-04T13:54:10.000Z","dependencies_parsed_at":"2024-01-18T05:19:02.560Z","dependency_job_id":"58bb92f2-c14a-4439-a078-a5907f7ca646","html_url":"https://github.com/ylsideas/feature-flags","commit_stats":{"total_commits":93,"total_committers":8,"mean_commits":11.625,"dds":0.3655913978494624,"last_synced_commit":"f82a413a529c073eea72644f6d0e1c8c0a20b89f"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/ylsideas/feature-flags","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylsideas%2Ffeature-flags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylsideas%2Ffeature-flags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylsideas%2Ffeature-flags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylsideas%2Ffeature-flags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ylsideas","download_url":"https://codeload.github.com/ylsideas/feature-flags/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylsideas%2Ffeature-flags/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278577929,"owners_count":26009703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dark-launch","dark-launching","feature","feature-flags","feature-toggles","flags","hacktoberfest","laravel","laravel-feature-flags","laravel10","laravel11","laravel9","php","php8","toggles"],"created_at":"2024-08-04T09:02:36.268Z","updated_at":"2025-10-06T08:08:24.140Z","avatar_url":"https://github.com/ylsideas.png","language":"PHP","readme":"![Feature Flags - The extendable and adaptable Laravel Feature Flags package for managing flags within code](banner.png \"Feature Flags\")\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/ylsideas/feature-flags.svg?style=flat-square)](https://packagist.org/packages/ylsideas/feature-flags)\n[![Tests](https://github.com/ylsideas/feature-flags/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ylsideas/feature-flags/actions/workflows/run-tests.yml)\n[![Check \u0026 fix styling](https://github.com/ylsideas/feature-flags/actions/workflows/pint.yml/badge.svg)](https://github.com/ylsideas/feature-flags/actions/workflows/pint.yml)\n[![codecov](https://codecov.io/github/ylsideas/feature-flags/branch/main/graph/badge.svg)](https://codecov.io/github/ylsideas/feature-flags)\n[![Total Downloads](https://img.shields.io/packagist/dt/ylsideas/feature-flags.svg?style=flat-square)](https://packagist.org/packages/ylsideas/feature-flags)\n[![Help Fund](https://img.shields.io/github/sponsors/peterfox?style=flat-square)](https://github.com/sponsors/peterfox)\n\nA Feature flag is at times referred to as a feature toggle or feature switch. Ultimately it's a coding strategy \nto be used along with source control to make it easier to continuously integrate and deploy. The idea of \nthe flags works by essentially safe guarding sections of code from executing if a feature flag isn't in a switched \non state.\n\nThis package aims to make implementing such flags across your application a great deal easier by providing solutions\nthat work with not only your code but your routes, blade files, task scheduling and validations.\n\n## The Feature flagging dashboard for Laravel\n\n[![flagfox - the power to deploy features form your own dashboard via a single Laravel package](https://www.flagfox.dev/img/github-readme-image.png \"Flagfox\")](https://www.flagfox.dev/?utm_campaign=waitlist\u0026utm_source=github\u0026utm_content=featureflags)\n\nIn late 2022 we decided to start work on a dashboard that will work on top of all the awesomeness that [Feature flags \nfor Laravel](https://github.com/ylsideas/feature-flags) gives you. Right now you can \n[join the waiting list](https://www.flagfox.dev/?utm_campaign=waitlist\u0026utm_source=github\u0026utm_content=featureflags#waitlist).\n\n## How adding feature flags looks with this package\n\nIt's pretty simple, you can start of with just simple calls to check if a flag's state is on or off.\n\n```php\nFeatures::accessible('my-feature') // returns true or false\n```\n\nOne of the unique features of this package is that it integrates heavily into Laravel by allowing you to \nconfigure different things such as access to route, schedule tasks or modifying the query builder.\n\nTo get a full understanding, it's best to [read the docs](https://feature-flags.docs.ylsideas.co/).\n\n## Upgrading\n\nVersion 3 and 2 are mostly the same. Some additonal type hinting was adding but not no major\nupgrade work should be required.\n\nVersion 2 and is somewhat different to version 1. If you are using Laravel 9 and PHP8\nyou should aim to use version 2. Version 1 is no longer supported. There is an [upgrade guide for moving\nfrom version 1 to version 2](UPGRADE.md).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require ylsideas/feature-flags:^3.0\n```\n\nOnce installed you should publish the config with the following command.\n\n```bash\nphp artisan vendor:publish --provider=\"YlsIdeas\\FeatureFlags\\FeatureFlagsServiceProvider\" --tag=config\n```\n\nYou can customise the `features.php` config in a number of ways.\n\n## Documentation\n\nFor the complete documentation, visit [https://feature-flags.docs.ylsideas.co/](https://feature-flags.docs.ylsideas.co/).\n\n## Package Development\n\nIf you wish to develop new features for this package you may run the tests using the following command.\n\n``` bash\ncomposer test\n```\n\nMake sure any code you work on is linted as well.\n\n```bash\ncomposer lint\n```\n\nand that the code doesn't introduce errors with PHPStan.\n\n```bash\ncomposer analyse\n```\n\nPlease make sure you *follow the Pull Request template* for all proposed changes. Ignoring it\nwill mean the PR will be ignored.\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email peter.fox@ylsideas.co instead of using the issue tracker.\n\n## Credits\n\n- [Peter Fox](https://github.com/ylsideas)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":["https://github.com/sponsors/peterfox"],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fylsideas%2Ffeature-flags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fylsideas%2Ffeature-flags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fylsideas%2Ffeature-flags/lists"}