PHP code example of myneid / laravel-db-tui
1. Go to this page and download the library: Download myneid/laravel-db-tui library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
myneid / laravel-db-tui example snippets
$app = new App($db);
$app->limit = 500;
$app->init();
php artisan db:tui [options]
bash
# MySQL / MariaDB
php artisan db:tui --url="mysql://user:password@host:3306/database"
# PostgreSQL
php artisan db:tui --url="postgres://user:password@host:5432/database"
# SQLite (absolute path)
php artisan db:tui --url="sqlite:/absolute/path/to/database.sqlite"
# SQLite (in-memory, useful for testing)
php artisan db:tui --url="sqlite::memory:"