PHPackages                             kohkimakimoto/site-generator - 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. kohkimakimoto/site-generator

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

kohkimakimoto/site-generator
============================

A simple static site generator.

v0.1.0(12y ago)290Apache License 2.0PHP

Since Feb 21Pushed 12y ago1 watchersCompare

[ Source](https://github.com/kohkimakimoto/SiteGenerator)[ Packagist](https://packagist.org/packages/kohkimakimoto/site-generator)[ Docs](https://github.com/kohkimakimoto/SiteGenerator)[ RSS](/packages/kohkimakimoto-site-generator/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

SiteGenerator
=============

[](#sitegenerator)

A simple static site generator.

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

[](#installation)

Create composer.json for installing via composer.

```
{
      "require": {
          "kohkimakimoto/site-generator": "dev-master"
      }
}
```

Run composer install command.

```
$ composer install
```

Usage
-----

[](#usage)

Run `init` command to create a basic directory structure and `generator.yml`.

```
$ php vendor/bin/site init
```

Created directory structure is the following

```
.
├── dest             # Root directory contains generated site resouces.
├── source           # Root directory contains source files of site.
│   ├── helpers      # Helpers contains PHP files are difined some user functions.
│   ├── layouts      # Layouts contains layout files.
│   ├── public       # Public is simply copied to dest directory.
│   └── views        # Views is processed to output files to dest directory.
└── generator.yml    # Main configuration file.

```

Run `generate` command to generate a static site from a source.

```
$ php vendor/bin/site generate
```

Also, you can run `generate` command with `--watch` and `--server` options in the development stage.

```
$ php vendor/bin/site generate --watch --server
```

If you use `--server` option, You can see the site at `http://localhost:1234/`.

If you want to clear the dest directory, you should run `clear` command.

```
$ php vendor/bin/site clear
```

TODO
----

[](#todo)

- Supporting to generate asset files.

References
----------

[](#references)

It's inspired the following products.

- [sculpin](https://github.com/sculpin/sculpin)
- [jekyll](https://github.com/jekyll/jekyll)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

4512d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/232e612dbf32e70978372a2249e28dd037f75eadafc547913375708571c65f9a?d=identicon)[kohkimakimoto](/maintainers/kohkimakimoto)

---

Top Contributors

[![kohkimakimoto](https://avatars.githubusercontent.com/u/761462?v=4)](https://github.com/kohkimakimoto "kohkimakimoto (16 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kohkimakimoto-site-generator/health.svg)

```
[![Health](https://phpackages.com/badges/kohkimakimoto-site-generator/health.svg)](https://phpackages.com/packages/kohkimakimoto-site-generator)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54642.4k4](/packages/jolicode-castor)

PHPackages © 2026

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