This application is built using the new Slim Framework 4 skeleton application. It uses the latest Slim 4 with the PHP-View template renderer. It also uses the Monolog logger.
This application is basically an alternative to phpSQLiteAdmin and phpLiteAdmin whereby one can administer a SQLite database via a web-based interface.
Run this command to clone the source codes
git clone git@github.com:nghianja/psa.git
Install the Slim Framework and its dependencies
cd psa
composer install
To run the application in development, you can run this command
composer start
Run this command in the application directory to run the test suite
composer test
That's it!
Home Page - localhost:8080
Please refer to this blog post for updated information.
- Slim Framework
- DataTables and
its Editorthe AltEditor - PDO SQLite3 Driver
- jQuery and Bootstrap
Supports the adding, updating and deleting of table data as well as the creating and dropping of tables. Only adding of column is allowed for altering table schema. What table is displayed for use depends on which user is logged in.
Logging into demo table,
- Click "Login" link.
- Enter username/password as demo/demo.
- psa_demo table will be displayed.
- Click on "Add" button to add a new row.
- Double-click on a field to edit.
- Select a row and click "Delete" button to remove the row.
Logging in as administrator,
- Click "Login" link.
- Enter username/password as admin/admin. (This account is disabled in my online version.)
- Admin panel will be displayed.
- Click on table name in admin panel to edit/drop table.
- Click on add_new_table in admin panel to create a table.
- Click on psa_users in tables panel to add/remove a user or edit username, password and the table a user can access.