PHORM MySQL 🚀

Pub Version Build Status GitHub Stars License: MIT Dart SDK

Warning

🚧 This package is under active development and is not yet functional. The API is unstable and subject to change. Do not use in production.

A MySQL driver for the PHORM — a lightweight, type-safe, driver-agnostic ORM for Dart and Flutter.

Roadmap

  • MySQL dialect (SqlDialect implementation)
  • Connection pool management
  • Async query executor
  • Migration support
  • Dart server support

Usage (planned)

import 'package:phorm_mysql/phorm_mysql.dart';

final db = PhormMysqlDatabase(
  host: 'localhost',
  port: 3306,
  database: 'mydb',
  username: 'root',
  password: 'secret',
  tables: [usersTable],
);

final users = PhormCore<User>(dbManager: db, table: usersTable);
await users.insert(user);
Package Description
phorm_sqlite ✅ Stable SQLite driver
phorm Core engine (included automatically)

License

MIT © 2024–2026 PHORM Contributors

Libraries

phorm_mysql
PHORM MySQL driver.