Download the PHP package satheez/laravel-settings without Composer

On this page you can find all versions of the php package satheez/laravel-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-settings

Laravel Settings

Latest Version on Packagist CI Total Downloads

A focused, database-backed key-value settings store for Laravel.

Requirements

Installation

Install the package:

Publish and run the migration:

Publish the configuration when the defaults need to be changed:

Usage

Inject the settings contract into application services:

The contract provides:

all() returns an associative array sorted by key. forget() returns whether a row was deleted.

The facade is available when dependency injection is not practical:

Supported Values

Settings may contain JSON-safe values:

Objects, resources, non-finite floats, and invalid UTF-8 strings are rejected with an UnsupportedSettingValue exception.

Stored null, false, 0, 0.0, empty strings, and empty arrays are real values. The default passed to get() is returned only when the key is absent.

Encryption

New values are encrypted by default with Laravel's application encrypter. Each stored payload records whether it is encrypted, so changing the global setting does not make existing version 2 rows unreadable.

Keep APP_KEY stable. Data encrypted with a previous key cannot be recovered unless that key remains configured through Laravel's key rotation support.

Cache

Database payloads and missing-key lookups are cached by default:

Writes refresh affected cache entries. Deletes and legacy migrations invalidate them. Cache backend failures are not swallowed.

Database Configuration

The default table is settings on the application's default connection:

The configured table must contain the columns created by the package migration.

Upgrading From Version 1

Version 2 reads existing plain and encrypted version 1 rows without modifying them. Review UPGRADING.md, then validate the conversion:

Rewrite legacy rows after the dry run succeeds:

Use --force for non-interactive production deployments and --chunk=500 to control read batch size. The command is transactional and idempotent.

The version 1 helpers and LaravelSettings facade remain available as deprecated compatibility wrappers. New code should use the contract or Settings facade.

Testing

Security

Review SECURITY.md before reporting a vulnerability.

License

The MIT License. See LICENSE.md.


All versions of laravel-settings with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/cache Version ^12.60 || ^13.10
illuminate/console Version ^12.60 || ^13.10
illuminate/contracts Version ^12.60 || ^13.10
illuminate/database Version ^12.60 || ^13.10
illuminate/encryption Version ^12.60 || ^13.10
illuminate/support Version ^12.60 || ^13.10
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package satheez/laravel-settings contains the following files

Loading the files please wait ...