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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi