pardalesteban / orm-helper-php
Mini ORM helper para PHP. Facilita el uso de PDO sin tener que crear un ORM desde cero cada vez.
v2
2025-09-23 17:35 UTC
Requires
- php: ^8.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Small library to help you build and execute SQL queries easily with PDO in your PHP projects.
βThis is a library for use in all PHP projects which you can create SQL sentences easily.β
β¨ Features
- Simple API for CRUD operations.
- Based on PDO (compatible with MySQL/MariaDB, PostgreSQL, etc.).
- Clear typing and explicit names.
- Designed to integrate quickly into existing projects.
π¦ Requirements
- PHP 8.0+ (8.1+ recommended).
pdoextension and the driver of your database (pdo_mysql,pdo_pgsql, etc.).
π¦ Installation
Option A) When published on Packagist
composer require pardalesteban/orm-helper-php
Option B) Using the VCS repository
Add to your composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Pardalesteban/orm-helper-php"
}
],
"require": {
"pardalesteban/orm-helper-php": "dev-main"
}
}
and then:
composer update
π§ For quick usage check the tests directory
π€ Contributing
PRs and issues are welcome!