Skip to content

barbushin/dabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DaBase is a very flexible, simple and lightweight pseudo ORM for PHP.

Features

  • Support multiple DB connectors
  • SQL builder with 8 types of smart placeholders for statements data binding & prepare
  • Easy to use and flexible Collections & Models class map
  • Flexible router for mapping $db->someTable->get() to collection class and table name
  • No need to specify DB schema and relations, just follow Router naming convention
  • Many to many, one to many, one to one relations support with smart appending interface
  • Model with built in validator and 12 pre-defined validation rules
  • Result cacher with auto clear mode
  • Minimalistic collections filters $db->users->age(27, '<')->isActive(true)->orderBy('age')->get()
  • Nested sets implemented interface

Documentation & Examples

See http://php-console.com/dabase

Recommendations

About

flexible, simple and lightweight pseudo ORM for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages