Download the PHP package velt/orm without Composer
On this page you can find all versions of the php package velt/orm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor velt
Package orm
Short Description Active record ORM layer for the Velt framework.
License MIT
Package orm
Short Description Active record ORM layer for the Velt framework.
License MIT
Please rate this library. Is it a good library?
Informations about the package orm
Velt ORM
Active record ORM, relations and model layer for the Velt PHP framework.
Role
This package starts in Module 3. It builds on veltphp/database and exposes the expressive model API used by applications:
Scope
- Active record base model.
- Object hydration and persistence.
- Minimal mass assignment protection.
- Relations such as
hasManyandbelongsTo. - Pagination result objects.
Boundaries
- SQL primitives, query builder, schema builder, migrations and seeders start in
veltphp/database. - CLI commands for migrations and seeders live in
veltphp/cli. - Package assembly and compatibility documentation live in
veltphp/framework.
Module 3 Issues
- Issue 01: create the active model layer.
- Issue 02: add relations and pagination.
Current API
Active Model Features
- Object hydration from database rows.
find,all,where,create.- Instance
savefor insert/update. - Instance
delete. - Magic attribute access with
$user->name. - Minimal mass assignment protection via
$fillableand$guarded.
Relations
Pagination
Serialized shape:
Testing
The ORM tests reuse the PHPUnit installation from velt-database in this local workspace:
The SQLite integration tests require pdo_sqlite. If the extension is not installed, those tests are skipped.
All versions of orm with dependencies
PHP Build Version
Package Version
The package velt/orm contains the following files
Loading the files please wait ...