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 today

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 43% 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

4463d 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

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[drupal/core

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

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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