{"id":14973970,"url":"https://github.com/huasofoundries/phppgadmin6","last_synced_at":"2025-05-11T15:43:49.003Z","repository":{"id":18247124,"uuid":"21398998","full_name":"HuasoFoundries/phpPgAdmin6","owner":"HuasoFoundries","description":"PHP7+ Based administration tool for PostgreSQL 9.3+","archived":false,"fork":false,"pushed_at":"2024-07-29T16:17:46.000Z","size":32262,"stargazers_count":46,"open_issues_count":31,"forks_count":19,"subscribers_count":12,"default_branch":"develop","last_synced_at":"2025-03-31T21:42:49.748Z","etag":null,"topics":["adodb","codemirror","composer","javascript","pgsql","php","phppgadmin","plpgsql","postgres","postgresql","rewrite-rules","slim-framework","twig"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuasoFoundries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.BSD-3-Clause","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-07-01T18:59:09.000Z","updated_at":"2024-02-20T14:12:42.000Z","dependencies_parsed_at":"2024-11-15T08:48:44.695Z","dependency_job_id":null,"html_url":"https://github.com/HuasoFoundries/phpPgAdmin6","commit_stats":{"total_commits":2823,"total_committers":53,"mean_commits":"53.264150943396224","dds":0.6606447042153737,"last_synced_commit":"b74660b55e38fd359732a441eb14652dec65e067"},"previous_names":[],"tags_count":71,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuasoFoundries%2FphpPgAdmin6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuasoFoundries%2FphpPgAdmin6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuasoFoundries%2FphpPgAdmin6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuasoFoundries%2FphpPgAdmin6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuasoFoundries","download_url":"https://codeload.github.com/HuasoFoundries/phpPgAdmin6/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253433676,"owners_count":21907774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adodb","codemirror","composer","javascript","pgsql","php","phppgadmin","plpgsql","postgres","postgresql","rewrite-rules","slim-framework","twig"],"created_at":"2024-09-24T13:49:45.696Z","updated_at":"2025-05-10T14:58:29.711Z","avatar_url":"https://github.com/HuasoFoundries.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phpPgAdmin6\n\nPHP 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/).\n\n[![Packagist](https://img.shields.io/packagist/dm/huasofoundries/phppgadmin6.svg)](https://packagist.org/packages/huasofoundries/phppgadmin6)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/289a56c1c7d94216b3d089c220689e9e)](https://www.codacy.com/app/amenadiel/phpPgAdmin6?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=HuasoFoundries/phpPgAdmin6\u0026utm_campaign=Badge_Grade)\n[![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)\n[![Build Status](https://scrutinizer-ci.com/g/HuasoFoundries/phpPgAdmin6/badges/build.png?b=develop)](https://scrutinizer-ci.com/g/HuasoFoundries/phpPgAdmin6/build-status/develop)\n[![License](https://img.shields.io/badge/license-MIT-428f7e.svg?logo=open%20source%20initiative\u0026logoColor=white\u0026labelColor=555555)](LICENSE.md)\n[![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)\n![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/huasofoundries/phppgadmin6?logo=php\u0026labelColor=efefef)\n____________\nThis project is inspired in [phppgadmin](https://github.com/phppgadmin/phppgadmin). Said project stalled a few years ago so we took it, refactored almost entirely and added:\n\n-   Composer Installation and dependency management\n-   [PSR-2 Coding Standard](https://www.php-fig.org/psr/psr-2) (Will evolve to PSR-12 soon)\n-   [PSR-4 Autoloading](https://www.php-fig.org/psr/psr-4)\n-   Removal of global variables (WIP)\n-   Removal of superglobals in favour of [PSR-7 Message interfaces](http://www.php-fig.org/psr/psr-7/) (WIP)\n-   Full PHP 7+ support\n-   Usage of Dependency Injection compliant with [PSR-11 Container interface](http://www.php-fig.org/psr/psr-11/)\n-   Support for PG 9.3+ features (Materialized Views, BRIN Indexes, etc)\n-   Nice urls\n\n## Requirements\n\n-   PHP 7.1+\n-   PostgreSQL v9+\n-   ext-psql\n-   [Composer](https://getcomposer.org/download/)\n\n(If you're using PostgreSQL 7.4 or 8.x, or PHP 5.6+, you can still try versions RC2 and below, but you should really, realy upgrade).\n\n---\n\n## Installation\n\n### Using Composer (recommended)\n\n[Install Composer in your machine](https://getcomposer.org/download/).\n\nInstall with composer running the following command in your shell (replacing \u003cFOLDER\u003e whith your desired folder name)\n\n```sh\ncomposer create-project huasofoundries/phppgadmin6 \u003cFOLDER\u003e v6.0.* --no-dev --prefer-dist\n```\n\nAlternatively, clone this repo and run (inside then folder where the project was cloned)\n\n```sh\ncomposer install --no-dev\n```\n\n## Configuration\n\nYou can set the config options either in a `config.inc.php` (refer to [config.inc.example.php](config.inc.example.php) for an example)\nAND/OR a [config.yml](config.yml). The use of the latter is complely optional. Keep in mind the config entries are merged giving\nprecedence to the ones in the YAML file.\n\n### Server Blocks\n\nConfiguration has a `servers` entry whose details are in their on Wiki section: \"[Config: Servers](https://github.com/HuasoFoundries/phpPgAdmin6/wiki/Config:-servers)\"\n\n---\n\n## Rewrite Rules\n\nAs this project is built over [Slim Framework 3](https://www.slimframework.com/), **you'll need some rewrite rules for nice-urls to work**.\n\nPlease refer to Slim Framework 3 instructions on rewrite rules config for:\n\n-   [Nginx](http://www.slimframework.com/docs/v3/start/web-servers.html#nginx-configuration)\n-   [Apache](http://www.slimframework.com/docs/v3/start/web-servers.html#apache-configuration)\n-   [Lighttpd](http://www.slimframework.com/docs/v3/start/web-servers.html#lighttpd)\n-   [IIS](http://www.slimframework.com/docs/v3/start/web-servers.html#iis)\n-   [HHVM](http://www.slimframework.com/docs/v3/start/web-servers.html#hiphop-virtual-machine)\n-   [PHP Built-in dev server](http://www.slimframework.com/docs/v3/start/web-servers.html#php-built-in-server)\n\n## Running inside a subfolder\n\nIf you're planning to run phpPgAdmin6 under a subfolder, make sure you set it **explicitly** in the config file(s). I gave up trying to\nfigure out the subfolder automatically and it's outside of this project's scope.\n\nTo set it in `config.inc.php`\n\n```\n$conf = [\n  'subfolder' =\u003e '/phppga_subfolder',\n  'other config...' =\u003e 'sure'\n];\n```\n\nTo set it in `config.yml`\n\n```yaml\ndefault_lang: auto\nsubfolder: '/phppha_subfolder'\n```\n\nRemember that values set on the `yml` config take precedence.\n\nBesides, remember to modify your webserver configuration accordingly\n\n```\nlocation /subfolder/ {\n    try_files $uri $uri/ /subfolder/index.php$is_args$args;\n}\n```\n\nInstead of\n\n```\nlocation / {\n    try_files $uri $uri/ /index.php$is_args$args;\n}\n```\n\n(Implementation details for your specific setup fall **outside of this package's scope**)\n\n#### Installing dev branch\n\nIf 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\n\n```sh\ncomposer create-project huasofoundries/phppgadmin6 \u003cFOLDER\u003e v6.*.*@beta --no-dev --prefer-dist\n```\n\n(or, you know, clone the repo and make sure you're in develop branch)\n\n## License\n\nThis work is licensed under MIT or GPL 2.0 (or any later version) or BSD-3-Clause\nYou can choose between one of them if you use this work.\n\n`SPDX-License-Identifier: MIT OR GPL-2.0-or-later OR BSD-3-Clause`\n\n## Credits \u0026 FAQ\n\nWe're preserving due credits to all people that contributed in the past, as well as other release notes\ncontained in the old version of [phppgadmin](https://github.com/phppgadmin/phppgadmin)\n\n-   [Bugs](docs/BUGS.md)\n-   [Changelog](docs/CHANGELOG.md) (_outdated_)\n-   [Credits](docs/CREDITS.md)\n-   [Developers](docs/DEVELOPERS.md)\n-   [FAQ](docs/FAQ.md) (_outdated_)\n-   [History](docs/HISTORY.md) (_outdated_)\n-   [Translators](docs/TRANSLATORS.md)\n\nKudos to all people that helped build the original project, upon which this one was built.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuasofoundries%2Fphppgadmin6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuasofoundries%2Fphppgadmin6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuasofoundries%2Fphppgadmin6/lists"}