PHPackages                             victormln/docker-php-nginx-psql-testing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. victormln/docker-php-nginx-psql-testing

ActiveTemplate[Testing &amp; Quality](/categories/testing)

victormln/docker-php-nginx-psql-testing
=======================================

A project template to have PHP 8.1 + nginx + postgres + testing

8.1(4y ago)03MITDockerfilePHP ^8.1

Since Jun 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/victormln/docker-php-nginx-psql-testing)[ Packagist](https://packagist.org/packages/victormln/docker-php-nginx-psql-testing)[ Docs](https://victormln.gitlab.io/p/preparando-entorno-php-nginx-con-docker-docker-compose/)[ RSS](/packages/victormln-docker-php-nginx-psql-testing/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

[![PHP Version](https://camo.githubusercontent.com/ee3ed92ac23432ebca8f7d38188d6daf603cb105bc4a1e068717b352ac45fcd6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f766963746f726d6c6e2f646f636b65722d7068702d6e67696e782d7073716c2d74657374696e67)](https://camo.githubusercontent.com/ee3ed92ac23432ebca8f7d38188d6daf603cb105bc4a1e068717b352ac45fcd6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f766963746f726d6c6e2f646f636b65722d7068702d6e67696e782d7073716c2d74657374696e67)

Introduction
============

[](#introduction)

Template repository to have PHP + nginx + PostgresSQL + testing available through a local URL:

What is in this template
------------------------

[](#what-is-in-this-template)

- PHP-fpm
- php.ini prepared to be edited by your own
- Composer
- Makefile
- Xdebug
- PostgresSQL
- PHPUnit
- Infection
- Nginx

Installation
------------

[](#installation)

1. From composer

```
$ composer create-project victormln/docker-php-nginx-psql-testing your-project
```

OR with git:

```
$ git clone https://github.com/victormln/docker-php-nginx-psql-testing.git your-project
$ cd your-project
$ make install # It will ask you for your sudo password in order to add to your /etc/hosts the domain
```

2. Start web server:

```
$ make start
```

Test website: `https://web-server.test` (you will see all `phpinfo()`)

Now you can edit the file in `public/index.php` and start coding!

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1510d ago

Major Versions

1.0.0 → 8.12022-06-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13024831?v=4)[Víctor Molina](/maintainers/victormln)[@victormln](https://github.com/victormln)

---

Top Contributors

[![victormln](https://avatars.githubusercontent.com/u/13024831?v=4)](https://github.com/victormln "victormln (7 commits)")

---

Tags

dockerdocker-composenginxphpphpunitpostgresqlpsqltemplate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/victormln-docker-php-nginx-psql-testing/health.svg)

```
[![Health](https://phpackages.com/badges/victormln-docker-php-nginx-psql-testing/health.svg)](https://phpackages.com/packages/victormln-docker-php-nginx-psql-testing)
```

###  Alternatives

[phpunit/php-text-template

Simple template engine.

7.4k926.3M89](/packages/phpunit-php-text-template)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
