Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

usox/harm

Repository files navigation

Build Status

HaRM - Hack Relation Mapper

Goal

The main purpose of HaRM is to perform simple CRUD-Operations in hack strict mode - that's it.

Usage

  • Create a .harm file containing the database structure (see tests/sample.harm for a boilerplate).
  • Generate interface ./bin/harmgen interface <path_to_your_harm_file> > MyTableInterface.hh
  • Generate table ./bin/harmgen table <path_to_your_harm_file> > MyTable.hh
  • Use your existing PDO instance for the database connection

See the generated interface for further information.

About

Active record/Table data gateway hybrid for hack strict mode

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •