PHPackages                             slendium/slendium-static - 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. slendium/slendium-static

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

slendium/slendium-static
========================

Static website generator.

v0.2.0(1mo ago)00MITPHPPHP ^8.5

Since Mar 13Pushed 1mo agoCompare

[ Source](https://github.com/slendium/slendium-static)[ Packagist](https://packagist.org/packages/slendium/slendium-static)[ RSS](/packages/slendium-slendium-static/feed)WikiDiscussions main Synced 1mo ago

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

Slendium Static
===============

[](#slendium-static)

Static website generator.

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

[](#installation)

Requires **PHP &gt;= 8.5**, [Composer](https://getcomposer.org) and [npm](https://www.npmjs.com). Simply run `composer install slendium/slendium-static` to add it to your project.

Usage
-----

[](#usage)

Create a `content/` directory and a `slendium-static.php` configuration file in the root of your project. Each file in the `content/` directory corresponds to a page of the generated site. Pages can be created using either HTML or Markdown. Running the script at `vendor/bin/generate-site` will generate the site in the `public/` directory.

Examples
--------

[](#examples)

### Default configuration file

[](#default-configuration-file)

The configuration file lives at `slendium-static.php` in the root directory of your project. It should return an `ArrayAccess|array` where each key is a configuration name. Use the `ConfigsBuilder` for type-safe configuration, as in the example below.

```
return new ConfigsBuilder()
	->setTitleTemplate(static fn($localTitle) => "$localTitle - My Website")
	->setBaseSectionProvider(new ArraySectionProvider([
		SectionNames::HEADER => new HtmlSection('Enter your header-HTML here'),
		SectionNames::FOOTER => new HtmlSection('Enter your footer-HTML here'),
	]))
	->build();
```

Roadmap
-------

[](#roadmap)

1. **\[Done\]** Static pages based on HTML or Markdown only
2. **\[Done\]** Include a global stylesheet
3. Integrate compositor library
4. Support for multi-locale sites
5. Page generation (for pagination of blogs, product pages, or similar)
6. Integrate JS/CSS minification strategies
7. Auto-optimized images with support for cropping based on screen size
8. Validating site integrity by checking all internal links

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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 ~20 days

Total

2

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8cb32e80bc8745da0070b0df3e42a7a4d0de1064a34bd32eafc341437f2b193?d=identicon)[packagist.uch8@frisiapp.com](/maintainers/packagist.uch8@frisiapp.com)

---

Top Contributors

[![cfahner](https://avatars.githubusercontent.com/u/3216275?v=4)](https://github.com/cfahner "cfahner (133 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/slendium-slendium-static/health.svg)

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

###  Alternatives

[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[wp-hooks/generator

Generates a JSON representation of the WordPress actions and filters in your code

86178.4k3](/packages/wp-hooks-generator)[stepanenko3/nova-cards

A Laravel Nova info cards.

33143.0k](/packages/stepanenko3-nova-cards)[mobizel/markdown-docs-bundle

Explore your markdown documentation files via html web pages

108.6k](/packages/mobizel-markdown-docs-bundle)[benmanu/silverstripe-styleguide

Generates a styleguide for a SilverStripe theme

108.1k1](/packages/benmanu-silverstripe-styleguide)

PHPackages © 2026

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