PHPackages                             staticka/expresso - 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. staticka/expresso

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

staticka/expresso
=================

Static blog platform based on Staticka.

v0.1.0(1y ago)01711MITPHPPHP &gt;=5.3.0CI failing

Since Nov 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/staticka/expresso)[ Packagist](https://packagist.org/packages/staticka/expresso)[ Docs](https://roug.in/staticka/expresso/)[ RSS](/packages/staticka-expresso/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

Staticka Expresso
=================

[](#staticka-expresso)

[![Latest Version on Packagist](https://camo.githubusercontent.com/35844c90b0b9c29878802fa337db54d9b7a7021642986b41e972522735d1a759/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374617469636b612f657870726573736f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/staticka/expresso)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/staticka/expresso/blob/master/LICENSE.md)[![Build Status](https://camo.githubusercontent.com/90e1ea7ca4f2505827f39eb1fdbef709d23207ba1c3c2d89d5c0d5fe9773efae/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7374617469636b612f657870726573736f2f6275696c642e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/staticka/expresso/actions)[![Coverage Status](https://camo.githubusercontent.com/559b1888b38316c321f4aa480d535bf17d2b85ac9c7281c23f80f34649661e68/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7374617469636b612f657870726573736f3f7374796c653d666c61742d737175617265)](https://app.codecov.io/gh/staticka/expresso)[![Total Downloads](https://camo.githubusercontent.com/df3292754a26fa479faea6976f2a9511305a98627e220fdff69cf41c96bb7d86/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374617469636b612f657870726573736f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/staticka/expresso)

`Expresso` is a simple static blog platform based on [Staticka](https://github.com/staticka/staticka) which allows creating and building of pages through a web-based user interface.

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

[](#installation)

Install the `Expresso` package via [Composer](https://getcomposer.org/):

```
$ composer require staticka/expresso
```

Basic Usage
-----------

[](#basic-usage)

Initialize the `Express` class to create a new application:

```
// index.php

use Staticka\Expresso\Express;

// ...

$app = new Express;

// Set the URL of the Expresso app ------
$app->setAppUrl('http://localhost:3977');
// --------------------------------------

// Set the URL of the website ------
$app->setSiteUrl('https://roug.in');
// ---------------------------------

// Set the path to store the pages ----
$app->setPagesPath(__DIR__ . '/pages');
// ------------------------------------

$app->run();
```

To run the application, the [PHP's built-in web server](https://www.php.net/manual/en/features.commandline.webserver.php) can be used:

```
$ php -S localhost:3977 -t app/public
```

Once the application has been served, it is now possible to create pages using `Expresso`.

### Adding fields

[](#adding-fields)

Fields in `Expresso` are the additional data of a page (e.g., `name`, `link`, etc.). Use the `setFields` method to customize the specified fields:

```
// index.php

use Staticka\Expresso\Express;

// ...

$app = new Express;

$fields = array('name');
$fields[] = 'title';
$fields[] = 'link';
$fields[] = 'description';
$fields[] = 'plate';
$fields[] = 'category';
$fields[] = 'tags';

$app->setFields($fields);

// ...
```

Building pages using `Console`
------------------------------

[](#building-pages-using-console)

`Expresso` does not contain a functionality yet to build pages as they introduce performance issues when loading the application. However, an alternative way for building the requested pages is to install the [Console](https://github.com/staticka/console/) package then add the `Package` class by `Expresso`:

```
namespace Staticka\Expresso;

// ...

use Rougin\Slytherin\Integration\IntegrationInterface;

// ...

class Package implements IntegrationInterface
{
    // ...
}
```

To use the `Package` class of `Expresso` by `Console`, kindly create the required `staticka.yml` then include the specified class to `packages` property:

```
$ composer require staticka/console
$ vendor/bin/staticka initialize
[PASS] "staticka.yml" added successfully!
```

```
# staticka.yml

root_path: %%CURRENT_DIRECTORY%%/app

# ...

packages:
  - Staticka\Expresso\Package
```

Once configured, select the `Build site` button from the application to compile all pages to HTML.

Note

Kindly see the [Using `staticka.yml`](https://github.com/staticka/console/?tab=readme-ov-file#using-statickayml) section from `Console` for more information on how to configure the requested `staticka.yml` file.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](https://github.com/staticka/expresso/blob/master/CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

The [PHP's built-in web server](https://www.php.net/manual/en/features.commandline.webserver.php) can be used for running the project:

```
$ php -S localhost:3977 -t app/public
```

After running, open a web browser then proceed to .

Warning

This command should only be used for development purposes.

Credits
-------

[](#credits)

- [All contributors](https://github.com/staticka/expresso/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](https://github.com/staticka/expresso/blob/master/LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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

552d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7721589a958a1fbcef1b527c794d820d75b82988f14b2ed86a1c6904d76a59e?d=identicon)[rougin](/maintainers/rougin)

---

Top Contributors

[![rougin](https://avatars.githubusercontent.com/u/6078637?v=4)](https://github.com/rougin "rougin (68 commits)")

---

Tags

static-sitephp-blogstatic-blog

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/staticka-expresso/health.svg)

```
[![Health](https://phpackages.com/badges/staticka-expresso/health.svg)](https://phpackages.com/packages/staticka-expresso)
```

PHPackages © 2026

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