Laravel Forge JavaScript SDK
phpMyAdmin
phpMyAdmin
Install phpMyAdmin
Method
forge.phpMyAdmin.install(server_id, site_id, payload)
Usage
1const forge = new Forge('API_TOKEN');23await forge.phpMyAdmin.install(server_id, site_id, payload);
Payload
1{2 database: 'forge',3 user: 14}
Uninstall phpMyAdmin
This method will uninstall phpMyAdmin and revert the site back to a default state.
Method
forge.phpMyAdmin.uninstall(server_id, site_id)
Usage
1const forge = new Forge('API_TOKEN');23await forge.phpMyAdmin.uninstall(server_id, site_id);
Edit this page on GitHub