Skip to content

Commit 3e4dd49

Browse files
committed
feat(configurator): Implement flexible configuration management system
- Create main Config class for orchestrating configuration management - Implement interfaces for ConfigManager, Loader, Storage, and MergeStrategy - Add FileLoader abstract class for common file loading functionality - Create specific loaders for PHP, YAML, and JSON configuration files - Implement ArrayStorage and TreeMapStorage for configuration data storage - Add StrictMerge and OverwriteMerge strategies for configuration merging - Introduce ConfigException for error handling - Update project structure for better organization and maintainability
1 parent 03aad78 commit 3e4dd49

20 files changed

+6892
-3
lines changed

.docker/php/Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ ARG PHP_VERSION=8.3
22

33
FROM php:${PHP_VERSION}-alpine
44

5-
RUN apk update && apk add --no-cache $PHPIZE_DEPS linux-headers \
6-
&& pecl install xdebug \
7-
&& docker-php-ext-enable xdebug \
5+
# Install dependencies and YAML extension
6+
RUN apk update && apk add --no-cache $PHPIZE_DEPS linux-headers yaml-dev \
7+
&& pecl install xdebug yaml \
8+
&& docker-php-ext-enable xdebug yaml \
89
&& docker-php-ext-install sockets
910

1011
COPY .docker/php/kariricode-php.ini /usr/local/etc/php/conf.d/

0 commit comments

Comments
 (0)