Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjude authored Sep 3, 2024
1 parent 512cd1a commit a5aefa4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![](./art/banner.jpg)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/banner.jpg)

# Filament Feature Flags

Expand All @@ -17,7 +17,7 @@ Filament implementation of feature flags and segmentation with Laravel Pennant.
- UI to modify a segment of users
- Purge all resolved features from storage

![](./art/segments.png)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/segments.png)

## Learn More
- [A Feature Flags Implementation for Filament - Laravel News](https://laravel-news.com/filament-feature-flags)
Expand Down Expand Up @@ -80,7 +80,7 @@ class WalletFunding
## Feature Segmentation
By default, this package resolves scope using the `App\Models\User` model and the default segment applies features for individual or group of users by email.

![](./art/email.png)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/email.png)

To add a new segment, add this code snippet below to the **segments** section on the `filament-feature-flag` config:

Expand All @@ -95,7 +95,7 @@ To add a new segment, add this code snippet below to the **segments** section on
],
],
```
![](./art/currency.png)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/currency.png)

### Example 2: Adding Segment For Country
```php
Expand All @@ -108,7 +108,7 @@ To add a new segment, add this code snippet below to the **segments** section on
],
],
```
![](./art/country.png)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/country.png)

## Feature Events

Expand Down Expand Up @@ -203,11 +203,11 @@ return [

## Screenshots:

![](./art/activate.png)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/activate.png)

![](./art/deactivate.png)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/deactivate.png)

![](./art/purge.png)
![](https://raw.githubusercontent.com/stephenjude/filament-feature-flags/main/art/purge.png)

## Testing

Expand Down

0 comments on commit a5aefa4

Please sign in to comment.