svycka / sv-settings
This module simplifies settings storage. For example this can be used with ZfcUser or store your application global settings with could be changed any time.
Installs: 1 580
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 6
Requires
- php: ^7.4 || ^8.0
- laminas/laminas-i18n: ^2.6
- laminas/laminas-modulemanager: ^2.6.1
- laminas/laminas-servicemanager: ^3.1.1
- laminas/laminas-stdlib: ^3.1
- laminas/laminas-validator: ^2.5.2
Requires (Dev)
- doctrine/doctrine-orm-module: ^5.0
- laminas-api-tools/api-tools-api-problem: ^1.2
- laminas/laminas-mvc: ^3.0.3
- laminas/laminas-router: ^3.0.2
- laminas/laminas-view: ^2.5.2
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.5.3
Suggests
- doctrine/doctrine-orm-module: Required, if you will use Doctrine for settings storage
- laminas-api-tools/api-tools-api-problem: Required, if you will use SettingsApiController
- laminas/laminas-mvc: Required, if you will use SettingsApiController
- laminas/laminas-view: Required, if you will use SettingsApiController
This package is auto-updated.
Last update: 2024-10-29 04:04:02 UTC
README
This module simplifies settings storage. For example this can be used with ZfcUser or store your application global settings. This module also could be used with CMS to store page settings like title, description, SEO, published time or whatever you want. This module also provides optional simple REST API to change your settings.
Install
Via Composer
$ composer require svycka/sv-settings
Basic Usage
- Register
Svycka/Settings
as module inconfig/application.config.php
- Copy the file located in
vendor/svycka/sv-settings/config/settings.global.php.dist
toconfig/autoload/settings.global.php
and change the values as you wish
Change log
Please see CHANGELOG for more information what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.