lifeeka/jsql

Convert Json Object to SQL.

dev-master 2019-09-20 06:15 UTC

This package is not auto-updated.

Last update: 2024-05-10 15:23:14 UTC


README

68747470733a2f2f692e696d6775722e636f6d2f68477a4c6b76632e706e67


Build Status StyleCI Scrutinizer Code Quality Code Intelligence Status Latest Stable Version Total Downloads License

JSQL

Convert Json Object to SQL.

Installation

composer require lifeeka/jsql:dev-master

Usage

<?php

    $config['host'] = '127.0.0.1';
    $config['db'] = 'test';
    $config['username'] = 'test';
    $config['password'] = 'test';
    
    $Client = new Lifeeka\JSQL\Client($config);
    $Client->loadFile('sample/sample2.json');
    $Client->migrate();
        

Tests

./vendor/bin/phpunit

Contributing

Contributions are welcome! 😍

Todos

  • Convert SQL to Json

License

This project is licensed under the MIT License