Skip to content

Commit 604c401

Browse files
committed
Updated readme
1 parent 45adce6 commit 604c401

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
![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)
12

23
***
34

4-
# Documentation
5+
# PostgreSQL ORM Class
6+
7+
I was looking for a class that works with postgres but doesn't required to create and manage models. Only for transactions.
8+
9+
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.
510

6-
This is an automatically generated documentation for **Documentation**.
11+
It was my first commit to packagist so if some issues are encountered please let me know.
12+
13+
# Documentation
714

815
## Namespaces
916

@@ -37,5 +44,6 @@ Run
3744
composer require maharder/postgresql-orm
3845
```
3946

47+
Now you can use the class
48+
4049
***
41-
> 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)

classes/PostgreSQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
//
4-
// Author: Maxim Harder (dev@devcraft.club) (c) 2021
4+
// Author: Maxim Harder (dev@devcraft.club) (c) 2021-2022
55
// Project: PostrgeSQL ORM Class
66
// File: PostgreSQL.php
77
// Desc: PDO PostreSQL Class

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "PostgreSQL ORM Class for plain uses without models",
55
"keywords": ["postgresql","postgres","psql","pdo","orm","class"],
66
"homepage": "https://github.com/Gokujo/postgresql-orm",
7+
"type": "library",
78
"license": "MIT",
89
"authors": [
910
{
@@ -24,6 +25,9 @@
2425
"autoload": {
2526
"psr-0": {
2627
"PostgreSQL": "classes"
27-
}
28+
},
29+
"files": [
30+
"classes/PostgreSQL.php"
31+
]
2832
}
2933
}

docs/classes/MaHarder/PostgreSQL.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,3 @@ private _connect(): null|PDO
421421
```
422422

423423
***
424-
425-
***
426-
> 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 commit comments

Comments
 (0)