Common PHP configuration library
Go to file
flash c1fe9371ad Updated Syokuhou libraries. 2024-01-04 02:12:49 +00:00
src Initial commit. 2023-10-20 21:21:17 +00:00
tests Initial commit. 2023-10-20 21:21:17 +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
LICENCE 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
composer.json Initial commit. 2023-10-20 21:21:17 +00:00
composer.lock Updated Syokuhou libraries. 2024-01-04 02:12:49 +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

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.