cahkampung / landa-migrasi
Migrasi Database MySQL
1.0
2017-09-11 04:03 UTC
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2025-03-07 01:07:49 UTC
README
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