Common PHP configuration library (ded)
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2024-06-03 22:12:37 +00:00
src Better name validation code. 2024-06-03 22:12:37 +00:00
tests Better name validation code. 2024-06-03 22:12:37 +00:00
tools Initial commit. 2023-10-20 21:21:17 +00:00
.gitattributes Updated .gitattributes. 2023-10-20 21:26:38 +00:00
.gitignore Initial commit. 2023-10-20 21:21:17 +00:00
composer.json Initial commit. 2023-10-20 21:21:17 +00:00
composer.lock Updated libraries. 2024-06-03 21:58:08 +00:00
LICENCE Initial commit. 2023-10-20 21:21:17 +00:00
phpdoc.xml Initial commit. 2023-10-20 21:21:17 +00:00
phpstan.neon Initial commit. 2023-10-20 21:21:17 +00:00
phpunit.xml Initial commit. 2023-10-20 21:21:17 +00:00
README.md Fixed README 2023-10-20 21:22:03 +00:00
VERSION Updated Index library. 2023-11-20 19:10:04 +00:00

Syokuhou

Syokuhou is a common library for configuration in my PHP projects. It provides both a file interface and a database interface out of the box as well as scoping.

Requirements and Dependencies

Syokuhou currently targets PHP 8.2.

Syokuhou\DbConfig

A compatible Index\Data\IDbConnection must be provided.

Versioning

Syokuhou versioning will follows the Semantic Versioning specification v2.0.0.

Previous major versions may be supported for a time with backports depending on what projects of mine still target older versions of PHP.

The version is stored in the root of the repository in a file called VERSION and can be read out within Syokuhou using Syokuhou\SyokuhouInfo::getVersion().

Contribution

By submitting code for inclusion in the main Syokuhou source tree you agree to transfer ownership of the code to the project owner. The contributor will still be attributed for the contributed code, unless they ask for this attribution to be removed. This is to avoid intellectual property rights traps and drama that could lead to blackmail situations. If you do not agree with these terms, you are free to fork off.

Licencing

Syokuhou is available under the BSD 3-Clause Clear License, a full version of which is enclosed in the LICENCE file.