PHPackages                             themsaid/katana-core - 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. [Templating &amp; Views](/categories/templating)
4. /
5. themsaid/katana-core

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

themsaid/katana-core
====================

Static site &amp; blog generator with markdown support.

v1.2.5(10y ago)382.2k11[2 issues](https://github.com/themsaid/katana-core/issues)[3 PRs](https://github.com/themsaid/katana-core/pulls)1MITPHPPHP &gt;=5.5.9

Since Mar 1Pushed 8y ago3 watchersCompare

[ Source](https://github.com/themsaid/katana-core)[ Packagist](https://packagist.org/packages/themsaid/katana-core)[ RSS](/packages/themsaid-katana-core/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (21)Used By (1)

Katana static site &amp; blog generator
=======================================

[](#katana-static-site--blog-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/950f4b04e6049e3ecea1d4e0771b45234e1f11eb638d5bb866baeb39466719e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468656d736169642f6b6174616e612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/themsaid/katana)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)[![Total Downloads](https://camo.githubusercontent.com/69d50a82372cca0aa5aba6d7d1b8b6a7301f6d706c60686e195048070e9af9f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468656d736169642f6b6174616e612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/themsaid/katana)

PHP static site &amp; blog generator with markdown support.

Using the power of laravel's Blade templating engine.

> This repository contains the core code. If you want to use Katana visit [this repository](https://github.com/themsaid/katana)

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

[](#installation)

To install a fresh Katana installation you need to [install composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) &amp; run the following command:

```
composer create-project themsaid/katana my-new-site

```

Once the installation is done you may build your website using the command:

```
php katana build

```

Katana is shipped with sample content to help you get started immediately, and after this command runs your site will be generated in the `/public` directory.

Documentation
-------------

[](#documentation)

The complete Katana documentation can be found here:

Blog generator
--------------

[](#blog-generator)

Katana is shipped with a static blog generator, all you need to do is create a new `.blade.php` file in the `/content/_blog` directory and Katana will compile all the posts and present them in a view of your choice or you can run in terminal for create the file automatically.

```
php katana post "Title of the post"

```

If you prefer create a Markdown file, add `--m` in the end of the command.

Blog posts list is paginated based on the configuration options in `config.php`. There's also a `$blogPosts` variable available in all your blade views that contains an array of posts.

Blade templating engine
-----------------------

[](#blade-templating-engine)

Blade is a simple yet powerful templating engine built for laravel, you need to [check Blade's documentation](https://laravel.com/docs/5.2/blade) if you're not already familiar with it.

Using with GitHub Pages
-----------------------

[](#using-with-github-pages)

You can use Katana to publish a website over GitHub Pages using subtrees, the idea is to deploy the public directory as the master branch of your user GitHub pages repository or the gh-pages branch of your project repository.

You can find the full details in [the documentation](http://themsaid.github.io/katana/).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 98.2% 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 ~2 days

Total

20

Last Release

3683d ago

Major Versions

v0.2.7 → v1.0.02016-03-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d96f0f919e9a1fd887da3f75818b1aad4ae2e2b82a1040641c4d1b4d621b712?d=identicon)[themsaid](/maintainers/themsaid)

---

Top Contributors

[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (55 commits)")[![marktopper](https://avatars.githubusercontent.com/u/2232539?v=4)](https://github.com/marktopper "marktopper (1 commits)")

---

Tags

generatorblademarkdownstaticcmssiteflat file

### Embed Badge

![Health badge](/badges/themsaid-katana-core/health.svg)

```
[![Health](https://phpackages.com/badges/themsaid-katana-core/health.svg)](https://phpackages.com/packages/themsaid-katana-core)
```

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[picocms/pico

Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create .md files in the "content" folder and that becomes a page.

3.9k37.8k11](/packages/picocms-pico)[aschmelyun/cleaver

A blazing-fast static site generator using Laravel's Blade templating engine

2961.0k](/packages/aschmelyun-cleaver)[tightenco/jigsaw-blog-template

Blog starter template for Jigsaw static site generator by Tighten

9464.0k](/packages/tightenco-jigsaw-blog-template)[tightenco/jigsaw-docs-template

Documentation starter template for Jigsaw static site generator by Tighten

5026.9k](/packages/tightenco-jigsaw-docs-template)[picocms/pico-composer

Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create .md files in the "content" folder and that becomes a page.

2020.6k](/packages/picocms-pico-composer)

PHPackages © 2026

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