Skip to content
forked from stakx-io/stakx

An opinionated, powerful, and simple static website generator built in PHP

License

Notifications You must be signed in to change notification settings

PeterMedina/stakx

 
 

Repository files navigation

stakx logo

*nix build Status Windows build status Code Coverage Scrutinizer Code Quality

stakx is a static website generator built in PHP inspired by Jekyll and Sculpin. Unlike its alternatives, stakx is distributed as a single executable so you don't need to worry about silly bundle install or composer install commands to build your website.

Philosophy

stakx's philosophy is to be treated as a model-view-controller (MVC) setup where stakx itself is the controller, Twig makes up the views, and your content makes up the models. Following this philosophy will allow you to have truly reusable content making migration to and from stakx a breeze.

Building the Sample Project

stakx provides a sample project for people to learn from. The sample project can be built in one of two ways.

Download a Release

Get the latest PHAR from the Releases page, download the repository, put the PHAR in the example directory and run the following command from within the example directory:

php ./stakx.phar build

Build from Git

Clone the repository, fetch the dependencies, and compile.

git clone https://github.com/stakx-io/stakx.git
composer install --no-dev
cd example/
php ../bin/stakx build

License

MIT

About

An opinionated, powerful, and simple static website generator built in PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.0%
  • HTML 3.0%
  • Other 1.0%