Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Settings Laravel Package

solomon-ochepa/laravel-settings

View on GitHub
Deep Wiki
Context7
v12.7.22

Full Changelog: https://github.com/solomon-ochepa/laravel-settings/compare/v12.7.4...v12.7.22

New update: Settings::remember(string $name, ?mixed $default = null)

You can now create, update, or retrieve a setting with one shot!

How it works?

The remember() method will first check if a setting exists, and it's not falsy (false, null, 0, '') Returns the setting value if not falsy Create the setting if not found Update the setting with the $default value if falsy

Note that the package migration has also been updated to support nullable values.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours