PHPackages                             dav-m85/std-makefile - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dav-m85/std-makefile

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dav-m85/std-makefile
====================

11981Makefile

Since Dec 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dav-m85/std-makefile)[ Packagist](https://packagist.org/packages/dav-m85/std-makefile)[ RSS](/packages/dav-m85-std-makefile/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WIP Deploy makefile for trusty target
=====================================

[](#wip-deploy-makefile-for-trusty-target)

Usage
-----

[](#usage)

In your composer.json

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/dav-m85/makefile-trusty"
        }
    ],
    "require": {
        "dav-m85/makefile-trusty":"dev-master"
    }
}
```

Then add the following makefile to your project

```
# Deploy configuration variables
CD=$(shell pwd)

# Silent include, if we haven't called build yet
-include vendor/dav-m85/makefile-trusty/trusty-deploy.mk

# Standard targets
build:
    composer install

install: std_deploy_nginx
```

`make build && sudo make install` shall now install nginx on your target machine.

Available targets
-----------------

[](#available-targets)

Variables in **bold** can be found inside the makefiles. They have default values. You can override them by definind them before or after the inclusion. Explore the **trust-deploy-defaults.mk** file to get the default values. Each target's algorithm is described below step by step.

### std\_deploy\_nginx

[](#std_deploy_nginx)

- Copy **DIST** file to **NGINX\_AVAILABLE**
- Replace **REPLACE\_VAR** variables in the copied file.
- Link it to a **NGINX\_NAME** symlink inside of **NGINX\_ENABLED**
- Reload the nginx server

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c32ed95d482fa49b3b5a0bc08e6a414d422c8b8ad518fca35fefb0b1f3c9b3d0?d=identicon)[dav-m85](/maintainers/dav-m85)

---

Top Contributors

[![dav-m85](https://avatars.githubusercontent.com/u/1519726?v=4)](https://github.com/dav-m85 "dav-m85 (4 commits)")

### Embed Badge

![Health badge](/badges/dav-m85-std-makefile/health.svg)

```
[![Health](https://phpackages.com/badges/dav-m85-std-makefile/health.svg)](https://phpackages.com/packages/dav-m85-std-makefile)
```

PHPackages © 2026

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