Download the PHP package mbsoft31/settings without Composer

On this page you can find all versions of the php package mbsoft31/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 settings

Settings Package for PHP

Latest Version on Packagist
GitHub Tests Action Status
GitHub Code Style Action Status
Total Downloads

Introduction

This package provides a simple and extensible way to manage application settings in various formats like JSON and YAML. It's designed to work seamlessly with Laravel and allows saving, loading, and managing configuration settings easily.

Features


Installation

Step 1: Install via Composer

You can install the package using Composer:

Step 2: Publish Configuration & Migrations

Publish the migrations and configuration files:

The configuration file (config/settings.php) will look like this:

Optionally, you can publish views using:


Usage

Example: Save and Load JSON Settings

Here's a quick example of how to use the package to manage your application settings:


Testing

Run the test suite using the following command:

To ensure the directory structure for file-based tests is correctly created during CI or local development, the package includes setup logic in the tests.


Advanced Usage

Supported Formats

Currently, the package supports:

You can extend the package to support additional formats by adding new serialization and deserialization methods.

Custom Configuration

You can modify the settings.php config file to define default file paths or application-specific settings.


Contributing

We welcome contributions! Please see the CONTRIBUTING guide for details.


Security Vulnerabilities

If you discover any security-related issues, please report them via the Security Policy.


Changelog

Refer to the CHANGELOG for recent updates.


Credits


License

This package is open-source software licensed under the MIT License.


All versions of settings with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
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 mbsoft31/settings contains the following files

Loading the files please wait ....