Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wahyuagung26/landamigrasi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Landa DB

Simple PHP Mysql Migration

Installation

Install with Composer

Add cahkampung/landa-db to require in composer.json

"require": { "cahkampung/landa-db": "^1.0" },

or run in terminal

composer require cahkampung/landa-migrasi

Run composer install

Example To Use

After add landa-migrasi, create php file with name index.php :

use Cahkampung\Migrasi;

require 'vendor/autoload.php';

$db_setting = [
    "host"     => "localhost",
    "username" => "root",
    "password" => "qwerty",
    "database" => "landa_sampang_pengajuan",
    "path"     => "migrasi",
];

$migrasi = new Migrasi($db_setting);

$migrasi->migrasi();

Run index.php

About

Tools untuk eksekusi DDL

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages