PHPackages                             helloandre/pressing - 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. helloandre/pressing

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

helloandre/pressing
===================

extensible library for static site generation

0.1.1(10y ago)032MITPHPPHP ^5.4|^7.0

Since Apr 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/helloandre/pressing)[ Packagist](https://packagist.org/packages/helloandre/pressing)[ RSS](/packages/helloandre-pressing/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Pressing
========

[](#pressing)

A Static Site Generator library for PHP.

Install
-------

[](#install)

```
composer install helloandre/pressing

```

Usage
-----

[](#usage)

```
$config = [];
$pressing = new Pressing\Pressing;
$pressing->generate($config);

```

Config
------

[](#config)

#### Pressing Config

[](#pressing-config)

`output_dir` - *default: public/* - where the generated output will go.

`input_dir` - *default: src/* - where Pressing should look for files to move to `output_dir`

`template_engine` - *default: Twig* - what engine to use to render templates

`template_dir` - *default: templates/* - where templates are located

#### Frontmatter

[](#frontmatter)

Each file may contain a frontmatter config that is JSON inside a top and bottom "marker" of three dashes as the very first thing in the file.

A file will be run through the template engine **ONLY IF** a frontmatter is found.

```
---
{ ... }
---
...

```

or empty

```
---
---
...

```

Any data contained within the frontmatter will be passed to the template.

#### Special Frontmatter

[](#special-frontmatter)

`template` - *default: none* - declares which template to use.

Template Engines
----------------

[](#template-engines)

currently available template engines:

- [Twig](twig.sensiolabs.org)

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

3764d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/530181534958c3310c310863c43a6e8be36473c7fd32ea860f5579838d4a6478?d=identicon)[helloandre](/maintainers/helloandre)

---

Top Contributors

[![helloandre](https://avatars.githubusercontent.com/u/212816?v=4)](https://github.com/helloandre "helloandre (2 commits)")

---

Tags

static-site-generator

### Embed Badge

![Health badge](/badges/helloandre-pressing/health.svg)

```
[![Health](https://phpackages.com/badges/helloandre-pressing/health.svg)](https://phpackages.com/packages/helloandre-pressing)
```

PHPackages © 2026

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