Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Installation

Hazeezet edited this page Nov 19, 2021 · 2 revisions

MOP can be install in two ways.... any way that fit your need.

Composer Install

to install using composer kindly type the command below in the terminal

composer require bringittocode/mop

then autoload it.

require 'vendor/autoload.php';

$connect = new Mysql\mop($DB_ADDRESS,$DB_USER,$DB_PASS,$DB_NAME);

Manual Install

Download both files mop.php and mopconfig.php in src folder

Place both files in the same directory and require mop.php file

require '__path__.mop.php';

$connect = new Mysql\mop($DB_ADDRESS,$DB_USER,$DB_PASS,$DB_NAME);
Clone this wiki locally