finesse/wired

Light standalone ORM with a query builder and no external configuration

v0.7.2 2019-03-26 13:58 UTC

This package is auto-updated.

Last update: 2024-02-29 02:59:43 UTC


README

Latest Stable Version Total Downloads PHP from Packagist Test Status Maintainability Test Coverage

Wired is an ORM for PHP.

Key features:

  • Simple configuration and usage. Only a database connection data (host, login, etc.) and models classes are required.
  • Light itself, uses light dependencies that can be used separately (e.g. query builder, database connector).
  • Not a part of a framework.
  • Supports table prefixes.
  • No static facades, only explicit delivery using dependency injection.
  • Has a query builder with powerful features like nested queries.
  • Exceptions on errors.

Supported DBMSs:

  • MySQL
  • SQLite
  • PostrgeSQL (partially, see the issue)

If you need a new database system support please implement it there and there using pull requests.

Documentation

The documentation is available at wired-orm.readthedocs.io.

Also all the classes, methods and properties has a PHPDoc comment in the code.

Versions compatibility

The project follows the Semantic Versioning.

License

MIT. See the LICENSE file for details.