Skip to content


Repository files navigation

Spress - PHP Static site generator

Build Status Build status SensioLabsInsight

Spress is a static site generator built with Symfony components.

License: MIT.


  • Linux, Unix, Mac OS X or Windows.
  • PHP +7.4.
  • Composer.


Discuss and share your opinions in Gitter chat:



When Contributing code to Spress, you must follow its coding standards. Spress follows PSR-2 coding style.

Keep in mind the golden rule: Imitate the existing Spress code.

Pull Requests

  • Fork the Spress repository.
  • Create a new branch for each feature or improvement.
  • New features: Send a pull request from each feature branch to master branch.
  • Fixes: Send a pull request to 2.1 branch.

Unit testing

All pull requests must be accompanied by passing unit tests. Spress uses phpunit for testing.

How to make spress.phar

We are using Box Project for generating the .phar file.

$ cd spress
$ box build

Unit tests

You can run the unit tests with the following command:

$ cd spress
$ composer test