# Onespace Widgets

This library contains a set of commonly used PHP Yii2 widgets.

## Minimum PHP Version

- PHP 8.1

## Dockerfile

When generating a Dockerfile for a project expecting to use this library, the following needs to be included.

```Dockerfile
RUN apt-get update && \
    apt-get install -y libfreetype6-dev libzip-dev unzip \
    docker-php-ext-configure gd  && \
    docker-php-ext-install -j$(nproc) gd && \
    docker-php-ext-configure sockets  && \
    docker-php-ext-install -j$(nproc) sockets  && \
    docker-php-ext-configure zip  && \
    docker-php-ext-install -j$(nproc) zip

RUN docker-php-ext-install -j$(nproc) pdo_mysql bcmath
```
