PHPackages                             flux-eco/storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. flux-eco/storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

flux-eco/storage
================

Handling mysql databases with json based table schemas

1.3.0(4y ago)0473GPL-3.0-onlyPHPPHP &gt;=8.0

Since Apr 2Pushed 4y agoCompare

[ Source](https://github.com/flux-eco/storage)[ Packagist](https://packagist.org/packages/flux-eco/storage)[ Docs](https://fluxlabs.ch)[ RSS](/packages/flux-eco-storage/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (8)Dependencies (3)Versions (9)Used By (3)

flux-eco/storage
================

[](#flux-ecostorage)

This component supports the handling of mysql databases with json based table schemas.

Usage
=====

[](#usage)

.env

```
PROJECTION_STORAGE_HOST=localhost
PROJECTION_STORAGE_DRIVER=Pdo_Mysql
PROJECTION_STORAGE_NAME=projection
PROJECTION_STORAGE_USER=user
PROJECTION_STORAGE_PASSWORD=password

```

account.yaml

```
title: account
type: object
properties:
  projectionId:
    type: string
  firstname:
    type: string
  lastname:
    type: string

```

example.php

```
