Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Gokujo committed May 13, 2022
1 parent 45adce6 commit 604c401
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
![PHP Version](https://img.shields.io/packagist/php-v/maharder/postgresql-orm)![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Gokujo/postgresql-orm)![GitHub release (latest by date)](https://img.shields.io/github/v/release/Gokujo/postgresql-orm)

***

# Documentation
# PostgreSQL ORM Class

I was looking for a class that works with postgres but doesn't required to create and manage models. Only for transactions.

This class uses the PHP PDO connection, so you have to enable `pdo_pgsql` in your php.ini. While I was writing this class I used PHP version 7.2. I recommend this version or a higher one.

This is an automatically generated documentation for **Documentation**.
It was my first commit to packagist so if some issues are encountered please let me know.

# Documentation

## Namespaces

Expand Down Expand Up @@ -37,5 +44,6 @@ Run
composer require maharder/postgresql-orm
```

Now you can use the class

***
> Automatically generated from source code comments on 2022-05-13 using [phpDocumentor](http://www.phpdoc.org/) and [saggre/phpdocumentor-markdown](https://github.com/Saggre/phpDocumentor-markdown)
2 changes: 1 addition & 1 deletion classes/PostgreSQL.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

//
// Author: Maxim Harder ([email protected]) (c) 2021
// Author: Maxim Harder ([email protected]) (c) 2021-2022
// Project: PostrgeSQL ORM Class
// File: PostgreSQL.php
// Desc: PDO PostreSQL Class
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "PostgreSQL ORM Class for plain uses without models",
"keywords": ["postgresql","postgres","psql","pdo","orm","class"],
"homepage": "https://github.com/Gokujo/postgresql-orm",
"type": "library",
"license": "MIT",
"authors": [
{
Expand All @@ -24,6 +25,9 @@
"autoload": {
"psr-0": {
"PostgreSQL": "classes"
}
},
"files": [
"classes/PostgreSQL.php"
]
}
}
3 changes: 0 additions & 3 deletions docs/classes/MaHarder/PostgreSQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,3 @@ private _connect(): null|PDO
```

***

***
> Automatically generated from source code comments on 2022-05-13 using [phpDocumentor](http://www.phpdoc.org/) and [saggre/phpdocumentor-markdown](https://github.com/Saggre/phpDocumentor-markdown)

0 comments on commit 604c401

Please sign in to comment.