fbnkcmaster / xdbshow
Package description here
Requires
- php: ^7.4|^8.0
Requires (Dev)
- orchestra/testbench: ^7.4
- phpunit/phpunit: ^9.0
README
xDBShow is a Laravel package that let you browse your database easily.
Think of it like a read-only PhpMyAdmin for your deployed Laravel application.
Preview
Listing Tables
Browsing a Table
Installation
You can install the package via composer:
composer require fbnkcmaster/xdbshow
Then publish its assets:
php artisan vendor:publish --tag=xdbshow --force
To publish the config file run this command:
php artisan vendor:publish --provider="FBNKCMaster\xDBShow\Providers\ServiceProvider" --tag="config" --force
Usage
After installation, you can access the interface via the default route:
https://[yourdomain.tld]/admin/xdbshow
But, before you can access this endpoint, make sure you have specified the name of the admin middleware in the config file (by changing 'auth_admin_middleware' => null). Otherwise, we assume that you have an "isAdmin()" method in the User model of your application.
In the config file you can also specify "hidden_tables" and "hidden_columns" you don't want to display.
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email AUTHOR@EMAIL.HERE instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.