phpSleekDBAdmin
What is phpSleekDBAdmin?
phpSleekDBAdmin is a web-based SleekDB database admin tool written in PHP. Following in the spirit of the flat-file system used by SleekDB, phpSleekDBAdmin consists of a single source file, phpsleekdbadmin.php. The interface and user experience is comparable to that of phpLiteAdmin and phpMyAdmin.
Requirements
- a server with PHP >= 7.0.0 installed, supporting sessions
- Composer
- SleekDB database
Installation
Go to your webroot
cd /www/webroot
Clone the repo and install dependencies with composer
git clone [email protected]:galanonym/phpsleekdbadmin.git && cd phpsleekdbadmin && composer install
Configuration
- Rename
phpsleekdbadmin.config.sample.php
intophpsleekdbadmin.config.php
- Open
phpsleekdbadmin.config.php
(orphpsleekdbadmin.php
) in a text editor. - Specify the directory as the value of the
$directory
variable. - Modify the
$password
variable to be the password used for gaining access to the phpSleekDBAdmin tool. - Open a web browser and navigate to the
phpsleekdbadmin/phpsleekdbadmin.php
file. You will be prompted to enter a password. Use the same password you set in step 4.
Screenshot
Warning
This library is using eval()
for running queries. We filter out ;
but it may still be a security hole. Do not use in production.