Download the PHP package spress/spress-core without Composer
On this page you can find all versions of the php package spress/spress-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package spress-core
Spress Core - PHP Static site generator
Spress is a static site generator built with Symfony components and Twig as default template engine. This repository is the core of Spress application.
Installation
Go to your app folder and input the following command:
How to use?
The entry-point class is Yosymfony\Spress\Core\Spress
. The below example
point out how to use:
Including draft posts
Another configuration values:
$spress['spress.config.env']
: Environment namedev
by default. This option determines the configuration file in case you have a specific configuration file for that environment name. e.g:$spress['spress.config.env'] = 'prod'
$spress['spress.config.safe']
: Withtrue
disable all plugins. e.g:spress['spress.config.safe'] = true
.$spress['spress.config.drafts']
: Include draft posts in the transformation.false
by default.$spress['spress.config.url']
: Sets the URL base.$spress['spress.config.timezone']
: Sets the timezone. E.g: "Europe/Madrid".
Unit tests
Spress core uses PHPUnit >= 5.7. You can run the unit tests with the following command:
License
This library is available as open source under the terms of the MIT License.
All versions of spress-core with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
twig/twig Version >=1.8,<2.0-dev
pimple/pimple Version ~3.0
symfony/yaml Version 2.7.*
symfony/finder Version 2.7.*
symfony/filesystem Version 2.7.*
symfony/event-dispatcher Version 2.7.*
michelf/php-markdown Version 1.5.*
yosymfony/embedded-composer Version 1.0.*@dev
yosymfony/config-loader Version 1.3.*
twig/twig Version >=1.8,<2.0-dev
pimple/pimple Version ~3.0
symfony/yaml Version 2.7.*
symfony/finder Version 2.7.*
symfony/filesystem Version 2.7.*
symfony/event-dispatcher Version 2.7.*
michelf/php-markdown Version 1.5.*
yosymfony/embedded-composer Version 1.0.*@dev
yosymfony/config-loader Version 1.3.*
The package spress/spress-core contains the following files
Loading the files please wait ....