naif/nova-mysql

Laravel Nova MySQL Server Managment

v1.1 2018-11-09 21:33 UTC

This package is not auto-updated.

Last update: 2024-11-17 04:40:17 UTC


README

Laravel Nova MySQL Server Management to do:

  • Create new database
  • Delete database
  • Repair database
  • Add new user
  • Delete user
  • Change user password
  • Add user to database
  • Revokes user from database

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require naif/nova-mysql

Usage:

Add the below to app/Providers/NovaServiceProvder.php

public function tools()
  {
      return [
           new NovaMysql()
      ];
  } 

Add the below to your .env file

CPANEL_HOST=YOUR_CPANEL_HOST_IP
CPANEL_DOMAIN=YOUR_DOMAIN_WITHOUT_HTTPS
CPANEL_PORT=MYSQL_PORT default 2083
CPANEL_USERNAME=YOUR_WEB_HOSTING_USERNAME
CPANEL_PASSWORD=YOUR_WEB_HOSTING_PASSWORD
CPANEL_PREFIX=YOUR_CPANEL_PREFIX prefix_DatabaseName

Screenshots

Support:

naif@naif.io

https://www.linkedin.com/in/naif

License:

The MIT License (MIT). Please see License File for more information.