pleets/sqlwebmanager

Web application for managing databases

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Language:JavaScript

v1.0.0-alpha.1 2018-08-18 06:42 UTC

This package is not auto-updated.

Last update: 2024-04-08 06:09:45 UTC


README

Code Quality Build Status Total Downloads Latest Stable Version License

SQL Web Manger

Minimalist SQL IDE

img

About

SQLWebManager is a web application for managing your MySQL, Oracle and SQLServer databases build on PHP.

System requirements

SQLWebManager Framework requires PHP 5.6 or later; we recommend using the latest PHP version whenever possible.

Installation

You can install SQLWebManager via composer. A copy of composer.phar is given with the lastest version of SQLWebManager. Run the following command in your shell.

php composer.phar install

Go to install/scripts/ and execute the script mysql.sql, oracle.sql or sqlsever.sql depending of your choice. Then set the database connection on config/database.config.php. The following is the schema of the database file.

return [
    'default' => [
       'dbname' => '',
       'dbuser' => '',
       'dbpass' => '',
       'dbhost' => 'localhost',
       'driver' => '',            // database driver
       'dbchar' => 'utf8'
    ],
];

Set the following driver depeding your choice.

Engine Driver
mysql Mysqli
oracle Oci8
sqlserver Sqlsrv

If you install the application in the root of your server, change the folling line on config/application.config.php

        'base_path' => (dirname(dirname($_SERVER['PHP_SELF'])) == "/") ? "" : dirname(dirname($_SERVER['PHP_SELF'])),

to

        'base_path' => (dirname(dirname($_SERVER['PHP_SELF'])) == "/") ? "" : "",

License

The SQLWebManager IDE is open-source software licensed under the MIT license.