scriptPilot / phpmysql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP MySQL

Provides MySQL and PHP CRUD API to your local development environment.

Requirements

Docker and Node.js

Installation

Create a new app project:

npm create vite@latest

Install this package:

npm install --save-dev phpmysql

-- to be automatized -

Configure the Vite proxy:

server: {
  proxy: {
    // eslint-disable-next-line no-useless-escape
    '^(.+)\.(php)(?:[\?#]|$)': 'http://localhost:8000/'
  }
}

Usage

Module usage ...

Development

  • Commit changes with issue reference
  • Run npm version patch | minor | major and push changes
  • Let the workflow manage the release to GitHub and NPM

docker stop $(docker ps -a -q) && docker rm -f $(docker ps -a -q) && docker volume rm $(docker volume ls -q)

About


Languages

Language:JavaScript 62.5%Language:Dockerfile 19.2%Language:PHP 18.3%