roquie / database
This package is abandoned and no longer maintained.
No replacement package was suggested.
Great tool for working with database migrations and seeds.
dev-master
2020-09-03 09:55 UTC
Requires
- php: ^7.2
- league/flysystem: ^1.0
- php-di/invoker: ^2.0
- psr/container: ^1.0
- psr/log: ^1.1
- symfony/console: ^4.1
Requires (Dev)
- illuminate/container: ^5.7
- monolog/monolog: ^1.24
- phpunit/phpunit: ^7.4
- symfony/var-dumper: ^4.1
Suggests
- ext-pdo: For usage with SQL databases.
- monolog/monolog: For usage when the app starts (if u have a native server, like Swoole).
This package is auto-updated.
Last update: 2020-10-03 10:15:27 UTC
README
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.