pardalesteban/orm-helper-php

Mini ORM helper para PHP. Facilita el uso de PDO sin tener que crear un ORM desde cero cada vez.

Maintainers

Package info

github.com/Pardalesteban/orm-helper-php

pkg:composer/pardalesteban/orm-helper-php

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v2 2025-09-23 17:35 UTC

This package is auto-updated.

Last update: 2026-03-23 18:44:07 UTC


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).
  • pdo extension 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!

πŸ“„ License

MIT