You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+78-14Lines changed: 78 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,36 +9,46 @@
9
9
10
10
## Introduction
11
11
12
-
Eloquent flagged attributes behavior. Enhance eloquent models with commonly used flags like `Active`, `Published`, `Approved` and other in a minutes!
12
+
Eloquent boolean & timestamp flagged attributes behavior. Enhance eloquent models with commonly used state flags like `Active`, `Published`, `Approved` and others in a minutes!
13
13
14
14
## Features
15
15
16
16
- Designed to work with Laravel Eloquent models
17
17
- Each model can has as many flags as required
18
18
- Each flag adds global query scopes to models
19
+
- 2 logical groups of flags: `Classic`, `Inverse`
20
+
- 2 types of flags: `Boolean`, `Timestamp`
19
21
- Covered with unit tests
20
22
21
23
## Available flags list
22
24
23
-
| Trait name | Logic | Database columns | Flag type |
0 commit comments