1
1
# phpPgAdmin6
2
2
3
+ PHP Based administration tool for PostgreSQL. Blazing fast routing with [ Slim Framework 3] ( https://www.slimframework.com/ ) and solid abstraction layer in its core with [ AdoDB] ( https://adodb.org/ ) . Originally forked from [ phppgadmin/phppgadmin] ( https://github.com/phppgadmin/phppgadmin ) .
4
+
3
5
[ ![ Packagist] ( https://img.shields.io/packagist/dm/huasofoundries/phppgadmin6.svg )] ( https://packagist.org/packages/huasofoundries/phppgadmin6 )
4
- [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/289a56c1c7d94216b3d089c220689e9e )] ( https://www.codacy.com/app/amenadiel/phpPgAdmin6?utm_source=github.com& ; utm_medium=referral& ; utm_content=HuasoFoundries/phpPgAdmin6& ; utm_campaign=Badge_Grade )
6
+ [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/289a56c1c7d94216b3d089c220689e9e )] ( https://www.codacy.com/app/amenadiel/phpPgAdmin6?utm_source=github.com&utm_medium=referral&utm_content=HuasoFoundries/phpPgAdmin6&utm_campaign=Badge_Grade )
5
7
[ ![ StyleCI] ( https://styleci.io/repos/21398998/shield?branch=develop )] ( https://styleci.io/repos/21398998 )
6
8
[ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/HuasoFoundries/phpPgAdmin6/badges/quality-score.png?b=develop )] ( https://scrutinizer-ci.com/g/HuasoFoundries/phpPgAdmin6/?branch=develop )
7
9
[ ![ Build Status] ( https://scrutinizer-ci.com/g/HuasoFoundries/phpPgAdmin6/badges/build.png?b=develop )] ( https://scrutinizer-ci.com/g/HuasoFoundries/phpPgAdmin6/build-status/develop )
8
10
[ ![ FOSSA Status] ( https://app.fossa.io/api/projects/git%2Bgithub.com%2FHuasoFoundries%2FphpPgAdmin6.svg?type=shield )] ( https://app.fossa.io/projects/git%2Bgithub.com%2FHuasoFoundries%2FphpPgAdmin6?ref=badge_shield )
9
11
10
- PHP Based administration tool for PostgreSQL.
11
-
12
12
This is a hard fork of [ phppgadmin] ( https://github.com/phppgadmin/phppgadmin ) which adds the following enhancements:
13
13
14
14
- Composer Installation and dependency management
@@ -17,33 +17,16 @@ This is a hard fork of [phppgadmin](https://github.com/phppgadmin/phppgadmin) wh
17
17
- Removal of global variables
18
18
- Full PHP 7+ support
19
19
- Support for PG 9.3+ features (Materialized Views, BRIN Indexes, etc)
20
+ - Nice urls
21
+
22
+ ### WIP
20
23
21
24
Other enhancements are in progress and would be a nice to have:
22
25
23
- - Nice urls
24
26
- Replace usage of superglobals with [ PSR-7 Message interfaces] ( http://www.php-fig.org/psr/psr-7/ ) to carry information around.
25
27
- Usage of Dependency Injection compliant with [ PSR-11 Container interface] ( http://www.php-fig.org/psr/psr-11/ )
26
28
27
-
28
- This project is made on top of [ Slim Framework 3] ( https://www.slimframework.com/ ) , although a big part of the code doesn't use its full features yet.
29
-
30
-
31
- ## Credits & FAQ
32
-
33
- We're preserving due credits to all people that contributed in the past, as well as other release notes
34
- contained in the old version of [ phppgadmin] ( https://github.com/phppgadmin/phppgadmin )
35
-
36
- - [ Bugs] ( docs/BUGS.md )
37
- - [ Changelog] ( docs/CHANGELOG.md ) (* outdated* )
38
- - [ Credits] ( docs/CREDITS.md )
39
- - [ Developers] ( docs/DEVELOPERS.md )
40
- - [ FAQ] ( docs/FAQ.md ) (* outdated* )
41
- - [ History] ( docs/HISTORY.md ) (* outdated* )
42
- - [ Translators] ( docs/TRANSLATORS.md )
43
-
44
- Kudos to all people that helped build the original project, upon which this one was built.
45
-
46
-
29
+ This project is made on top of [ Slim Framework 3] ( https://www.slimframework.com/ ) and communicates with the Database using [ AdoDB] ( https://adodb.org/ )
47
30
48
31
## Installation
49
32
@@ -53,9 +36,8 @@ Kudos to all people that helped build the original project, upon which this one
53
36
54
37
Install with composer running the following command in your shell (replacing <FOLDER > whith your desired folder name)
55
38
56
-
57
39
``` sh
58
- composer create-project huasofoundries/phppgadmin6 < FOLDER> * @beta
40
+ composer create-project huasofoundries/phppgadmin6 < FOLDER> v6.0. * @rc --no-dev --prefer-dist
59
41
```
60
42
61
43
Alternatively, clone this repo and run (inside then folder where the project was cloned)
@@ -64,10 +46,19 @@ Alternatively, clone this repo and run (inside then folder where the project was
64
46
composer install --no-dev
65
47
```
66
48
49
+ #### Installing dev branch
50
+
51
+ If there's something broken and I cannot risk breaking the rest to fix your issue, I might push a fix or feature to [ develop branch] ( https://github.com/HuasoFoundries/phpPgAdmin6/tree/develop ) . Said branch can be installed as
52
+
53
+ ``` sh
54
+ composer create-project huasofoundries/phppgadmin6 < FOLDER> * @beta --no-dev --prefer-dist
55
+ ```
56
+
57
+ (or, you know, clone the repo and make sure you're in develop branch)
67
58
68
59
## Rewrite Rules
69
60
70
- As this project is built over [ Slim Framework 3] ( https://www.slimframework.com/ ) , ** you'll need some rewrite rules for this software to work** .
61
+ As this project is built over [ Slim Framework 3] ( https://www.slimframework.com/ ) , ** you'll need some rewrite rules for nice-urls to work** .
71
62
72
63
### Apache
73
64
@@ -89,7 +80,7 @@ Add the following vhost to your `sites-enabled` folder
89
80
90
81
```
91
82
server {
92
- listen 80;
83
+ listen 80;
93
84
# or whatever port you want
94
85
95
86
server_name yourservername.com;
@@ -99,11 +90,11 @@ server {
99
90
index index.php;
100
91
101
92
# Use this block if you're running in your domain or subdomain root
102
- location / {
103
- try_files $uri $uri/ /index.php$is_args$args;
104
- }
93
+ location / {
94
+ try_files $uri $uri/ /index.php$is_args$args;
95
+ }
105
96
106
- # If running inside a subfolder use instead
97
+ # If running inside a subfolder use instead
107
98
#location /subfolder/ {
108
99
# try_files $uri $uri/ /subfolder/index.php$is_args$args;
109
100
#}
@@ -131,13 +122,24 @@ server {
131
122
132
123
Please note that you have to customize your server name, php upstream (sock or IP) and optinally the subfolder you want phpPgAdmin6 to run on.
133
124
134
-
135
125
## License
136
126
137
127
This work is licensed under MIT or GPL 2.0 (or any later version) or BSD-3-Clause
138
128
You can choose between one of them if you use this work.
139
129
140
130
` SPDX-License-Identifier: MIT OR GPL-2.0-or-later OR BSD-3-Clause `
141
131
132
+ ## Credits & FAQ
142
133
134
+ We're preserving due credits to all people that contributed in the past, as well as other release notes
135
+ contained in the old version of [ phppgadmin] ( https://github.com/phppgadmin/phppgadmin )
136
+
137
+ - [ Bugs] ( docs/BUGS.md )
138
+ - [ Changelog] ( docs/CHANGELOG.md ) (_ outdated_ )
139
+ - [ Credits] ( docs/CREDITS.md )
140
+ - [ Developers] ( docs/DEVELOPERS.md )
141
+ - [ FAQ] ( docs/FAQ.md ) (_ outdated_ )
142
+ - [ History] ( docs/HISTORY.md ) (_ outdated_ )
143
+ - [ Translators] ( docs/TRANSLATORS.md )
143
144
145
+ Kudos to all people that helped build the original project, upon which this one was built.
0 commit comments