New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

hpolthof/laravel-eloquent-settings

Allow for dynamic blobbed settings in Eloquent models.
52 1

Larablocks Analysis

hpolthof/laravel-eloquent-settings works with any PHP project: the latest release (v0.1.7, Aug 1, 2019) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Aug 1, 2019)
  • 0 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Aug 1, 2019.
  • No releases in the last 12 months.
  • First released: Jan 8, 2017.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require hpolthof/laravel-eloquent-settings
Latest Version:v0.1.7
PHP:>=5.4.0
License:GPL2
Last Updated:Aug 1, 2019
Links: GitHub  ·  Packagist
Maintainer: hpolthof

Allow for dynamic blobbed settings in Eloquent models.

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.

Usage

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.

Related Packages

yadakhov/insert-on-duplicate-key

A trait for MySQL INSERT ON DUPLICATE KEY UPDATE.

3,149,973 275
audunru/eager-load-pivot-relations

Eager load pivot relations for Laravel Eloquent's BelongsToMany relation.

81,294 9
someonefamous/laravel-findby

Extended 'find' functionality for Eloquent (Laravel).

11,661 3
vluzrmos/eloquent-simple-searchable

An Eloquent Simple Searchable Scope.

216 2
atoms/database-illuminate

Illuminate bridge for Atoms: the Laravel query builder and Eloquent models again...

63 0

Version History

Version Released PHP License
v0.1.7 >=5.4.0 GPL2
v0.1.6 >=5.4.0 GPL2
v0.1.5 >=5.4.0 GPL2
v0.1.4 >=5.4.0 GPL2
v0.1.3 >=5.4.0 GPL2