Download the PHP package symplify/statie without Composer
On this page you can find all versions of the php package symplify/statie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package statie
[DEPRECATED since 2020-03] Statie - Modern and Simple Static Site Generator in PHP
Use Symfony Static Dumper instead
Statie takes HTML, Markdown and Twig files and generates static HTML page.
Install
How to Generate and See the Website?
- Prepare content for Statie
This will generate config, templates, layouts and gulp code, so you can enjoy live preview.
Last step is install node dependencies:
-
Generate static site from
/source
(argument) to/output
(default value) in HTML: -
Run website locally
- And see web in browser localhost:8000.
Do you use Jekyll or Sculpin?
Configuration
statie.yml
Config
This is basically Symfony Kernel config.yml
that you know from Symfony application. You can:
Parameters are available in every template:
Do You Write Posts?
Create a new empty .md
file with date, webalized title and ID:
Statie privides default template:
Do you want your own template? Configure path to it:
That's it!
How to Generate API?
Statie web Friendsofphp.org provide info about PHP meetups and groups. They're already stored in parameters. Do you want to publish them as JSON API?
This will generate 2 pages:
With parameters as JSON, that anyone can use now.
How to Redirect old page?
Are you Speaker? Use your JoindIn Talks
This will generated source/_data/generated/joind_in_talks.yaml
file with your talks:
Then you can use them like any other parameter in your Statie templates:
Useful Twig Filters
All from this basic set and more:
Documentation
Thanks to @crazko you can enjoy neat documentation and see projects that use Statie at statie.org.
- How to Tweet your Posts with Travis
- How to Thank your Contributors
Contributing
Open an issue or send a pull-request to main repository.
All versions of statie with dependencies
erusev/parsedown-extra Version ^0.7.1
erusev/parsedown Version ^1.7
composer/xdebug-handler Version ^1.4
latte/latte Version ^2.5
guzzlehttp/guzzle Version ^6.5
j7mbo/twitter-api-php Version ^1.0.6
nette/finder Version ^2.5
nette/utils Version ^3.0
tracy/tracy Version ^2.7
twig/twig Version ^3.0
symfony/config Version ^4.4|^5.0
symfony/dependency-injection Version ^4.4|^5.0
symfony/event-dispatcher Version ^4.4|^5.0
symfony/http-kernel Version ^4.4|^5.0
symfony/console Version ^4.4|^5.0
symfony/finder Version ^4.4|^5.0
symfony/yaml Version ^4.4|^5.0
symplify/package-builder Version ^7.2.3
symplify/smart-file-system Version ^7.2.3
symplify/set-config-resolver Version ^7.2.3
symplify/autowire-array-parameter Version ^7.2.3
symplify/auto-bind-parameter Version ^7.2.3
jean85/pretty-package-versions Version ^1.2
ocramius/package-versions Version ^1.4