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
[![Visit my website][website-link-badge]][link-website]
10
9
[![View my other packages and projects][packages-link-badge]][link-packages]
11
10
[![Follow @sebastiaanluca on Twitter][twitter-profile-badge]][link-twitter]
12
11
[![Share this package on Twitter][twitter-share-badge]][link-twitter-share]
13
12
14
13
**Automatically convert Eloquent model boolean fields to dates (and back to booleans)** so you always know _when_ something was accepted or changed.
15
14
16
-
Say you've got a registration page for users where they need to accept your terms and perhaps can opt-in to certain features using checkboxes. With the new(-ish) GDPR privacy laws, you're somewhat required to not just keep track of the fact *if* they accepted those (or not), but also *when* they did.
15
+
Say you've got a registration page for users where they need to accept your terms and perhaps can opt-in to certain features using checkboxes. With the GDPR privacy laws, you're somewhat required to not just keep track of the fact *if* they accepted those (or not), but also *when* they did.
17
16
18
17
### Example
19
18
@@ -59,8 +58,8 @@ $user->accepted_terms_at;
59
58
60
59
## Requirements
61
60
62
-
- PHP 8.1 or 8.2
63
-
- Laravel 10
61
+
- PHP 8.3 or 8.4
62
+
- Laravel 11 or 12
64
63
65
64
## How to install
66
65
@@ -279,18 +278,17 @@ If you discover any security related issues, please email [hello@sebastiaanluca.
279
278
280
279
## About
281
280
282
-
My name is Sebastiaan and I'm a freelance back-end developer specializing in building custom Laravel applications. Check out my [portfolio][link-portfolio] for more information, [my blog][link-blog] for the latest tips and tricks, and my other [packages][link-packages] to kick-start your next project.
281
+
My name is Sebastiaan and I'm a freelance back-end developer specializing in building custom Laravel web apps. Check out my [website][link-website] for more information and my other [packages][link-packages] to kick-start your next project.
283
282
284
283
Have a project that could use some guidance? Send me an e-mail at [[email protected]][link-author-email]!
0 commit comments