Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jahidulpabelislam/orm
- Owner: jahidulpabelislam
- License: gpl-3.0
- Created: 2020-01-22T21:40:36.000Z (almost 5 years ago)
- Default Branch: 2.x
- Last Pushed: 2024-09-06T23:09:50.000Z (4 months ago)
- Last Synced: 2024-11-11T22:11:42.473Z (about 2 months ago)
- Topics: database, entity, model, orm, php
- Language: PHP
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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