nomess / orm
Orm for nomess
Installs: 36
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nomess/orm
Requires
- ext-json: *
- ext-pdo: *
- nomess/cache: *
- nomess/cli: *
- nomess/config: *
- nomess/parser: *
This package is not auto-updated.
Last update: 2025-09-29 19:07:44 UTC
README
nomess / orm is a very powerful orm requiring little configuration.
!!! This project is no longer maintained
It supports Mysql and PostgreSql.
Methods:
find($classname : string, $idOrSql : int|string|null, $parameters = [] : array): object|array|null
use Nomess\Component\Orm\EntityManagerInterface; $entityManager = new EntityManager(...) // On select all $samples = $entityManager->find(Sample::class); // Select one $sample = $entityManager->find(Sample::class, 1); // Select with Sql $samples = $entityManager->find(Sample::class, 'username = :username', [ 'username' => 'nomess' ]);