finesse / wired
Light standalone ORM with a query builder and no external configuration
v0.7.2
2019-03-26 13:58 UTC
Requires
- php: >=7.0
- finesse/mini-db: ^0.7.3
Requires (Dev)
- ext-pdo_sqlite: *
- pagerfanta/pagerfanta: ^1.0 || ^2.0
- phpunit/phpunit: ^6.4
Suggests
- pagerfanta/pagerfanta: To make pagination
README
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.