Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jahidulpabelislam/orm

Simple & lightweight ORM for PHP.
https://github.com/jahidulpabelislam/orm

database entity model orm php

Last synced: about 2 months ago
JSON representation

Simple & lightweight ORM for PHP.

Awesome Lists containing this project

README

        

# ORM

[![CodeFactor](https://www.codefactor.io/repository/github/jahidulpabelislam/orm/badge)](https://www.codefactor.io/repository/github/jahidulpabelislam/orm)
[![Latest Stable Version](https://poser.pugx.org/jpi/orm/v/stable)](https://packagist.org/packages/jpi/orm)
[![Total Downloads](https://poser.pugx.org/jpi/orm/downloads)](https://packagist.org/packages/jpi/orm)
[![Latest Unstable Version](https://poser.pugx.org/jpi/orm/v/unstable)](https://packagist.org/packages/jpi/orm)
[![License](https://poser.pugx.org/jpi/orm/license)](https://packagist.org/packages/jpi/orm)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/jahidulpabelislam/orm/2.x.svg?label=last%20activity)

A super simple & lightweight ORM.

This has been kept very simple stupid (KISS), there is no validation, and it will assume you are using it correctly. So please make sure to add your own validation if using user inputs in the queries.

I would advise against using this on real-world/live applications...but feel free to use in your own demo/experimental projects.

SO TO BE VERY CLEAR USE AT YOUR OWN RISK!

## Dependencies

- PHP 8.0+
- Composer
- PHP PDO
- MySQL 5+
- [jpi/database](https://packagist.org/packages/jpi/database)
- [jpi/query](https://packagist.org/packages/jpi/query)

## Installation

Use [Composer](https://getcomposer.org/)

```bash
$ composer require jpi/orm
```

## Support

If you found this library interesting or useful please spread the word about this library: share on your socials, star on GitHub, etc.

If you find any issues or have any feature requests, you can open a [issue](https://github.com/jahidulpabelislam/orm/issues) or email [me @ jahidulpabelislam.com](mailto:[email protected]) :smirk:.

## Authors

- [Jahidul Pabel Islam](https://jahidulpabelislam.com/) [](mailto:[email protected])

## Licence

This module is licenced under the General Public Licence - see the [licence](LICENSE.md) file for details