genai / sql-mapper
MyBatis-style SQL mapper: mark an interface #[Mapper] and its methods #[Select]/#[Insert]/#[Update]/#[Delete] with the SQL. A build-time processor compiles a reflection-free Cache\<Name> implementation (prepared statements, #{name} bound params, optional row->object hydration) and registers it as a
v1.0.1
2026-07-10 02:10 UTC
Requires
- php: >=5.3.0
- ext-pdo: *
- genai/property: *
Suggests
- genai/attribute: PHP 8 build-time #[Mapper] scanning via GenAI\SqlMapper\Processor\MapperProcessor (the runtime stays PHP 5.3).
- genai/boot: The Kernel reads extra.genai.scan to auto-discover the database bundle.
- genai/di: Build-time scanning of the bundled #[Configuration]/#[Bean] that registers the \PDO bean (PHP 8).