Download the PHP package staticka/expresso without Composer
On this page you can find all versions of the php package staticka/expresso. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download staticka/expresso
More information about staticka/expresso
Files in staticka/expresso
Package expresso
Short Description Static blog platform based on Staticka.
License MIT
Homepage https://roug.in/staticka/expresso/
Informations about the package expresso
Staticka Expresso
Expresso
is a simple static blog platform based on Staticka which allows creating and building of pages through a web-based user interface.
Installation
Install the Expresso
package via Composer:
Basic Usage
Initialize the Express
class to create a new application:
To run the application, the PHP's built-in web server can be used:
Once the application has been served, it is now possible to create pages using Expresso
.
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:
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 package then add the Package
class by Expresso
:
To use the Package
class of Expresso
by Console
, kindly create the required staticka.yml
then include the specified class to packages
property:
Once configured, select the Build site
button from the application to compile all pages to HTML.
[!NOTE] Kindly see the Using
staticka.yml
section fromConsole
for more information on how to configure the requestedstaticka.yml
file.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
The PHP's built-in web server can be used for running the project:
After running, open a web browser then proceed to http://localhost:3977.
[!WARNING] This command should only be used for development purposes.
Credits
License
The MIT License (MIT). Please see LICENSE for more information.