Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 507 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 507 Bytes

New maintained version of this package can be found at: https://github.com/spacetab-io/rdb-php (partially compatible) This version archived as is and no longer maintained.


Rdb

<?php

use Roquie\Database\Connection\Wait\Wait;
use Roquie\Database\Migration\Migrate;
use Roquie\Database\Seed\Seed;

Wait::connection($dsn, function (PDO $pdo) {
    Migrate::new($pdo)
        ->install()
        ->run();

    Seed::new($pdo)
        ->run();
});

Doc is coming soon.