Package Data | |
---|---|
Maintainer Username: | hpolthof |
Maintainer Contact: | hpolthof@gmail.com (Paul Olthof) |
Package Create Date: | 2017-01-08 |
Package Last Update: | 2019-08-01 |
Language: | PHP |
License: | GPL2 |
Last Refreshed: | 2024-11-23 03:23:11 |
Package Statistics | |
---|---|
Total Downloads: | 49 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This package was created for an internal project, but as the idea is reusable, I encourage others to make use of this package.
The main goal was to create a way to store variables dynamicly into a database field without having to rewrite the database structure.
Just use the HasSettings trait in your Eloquent model and add a field named settings
to your table with a type of MEDIUMTEXT
.
You can also use another field name, but be sure to set the protected $settingsField
to that specific fieldname.