Download the PHP package schornio/static-website-generator without Composer
On this page you can find all versions of the php package schornio/static-website-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download schornio/static-website-generator
More information about schornio/static-website-generator
Files in schornio/static-website-generator
Download schornio/static-website-generator
More information about schornio/static-website-generator
Files in schornio/static-website-generator
Vendor schornio
Package static-website-generator
Short Description Generates files from Handlebar-Templates on the server
License MIT
Package static-website-generator
Short Description Generates files from Handlebar-Templates on the server
License MIT
Please rate this library. Is it a good library?
Informations about the package static-website-generator
SchornIO\StaticWebsiteGenerator
Scripts
- sio-swg-compile: compiles
./components
to stdout php-script - sio-swg-generator: each component has the opportunity to run a script at render time (
generator.php
,function <component_name>_generator ()
) - sio-swg-render: overwrites
./dist
with given Storyblok content
Handlebar helpers
echo
join
replace
toJSON
toAlphaNum
equal
switch
case
split
useDynamic
markdown
getStory
getStories
getCurrentStory
url
resize
resolveSlug
textToSlug
isActiveStory
renderTimestamp
formatDate
storyblokToken
- (
storyblokBridge
)
Image Processor must be located at public/images
Difference between static (.html
) and dynamic (.php
) content
The hbs-helper {{useDynamic}}
markes a template as dynamic content. If at least one template in the render-chain is marked as dynamic then the resulting file will end in .php
instead of .html
.
Special slug --fileextension-
If a slug contains (filename)--fileextension-(extension)
the file will be stored as (filename).(extension)
. Eg sitemap--fileextension-xml
will be converted to sitemap.xml
All versions of static-website-generator with dependencies
PHP Build Version
Package Version
Requires
erusev/parsedown Version
^1.7
guzzlehttp/guzzle Version ^6.3
zordius/lightncandy Version ^1.2
phpmailer/phpmailer Version ^6.4
guzzlehttp/guzzle Version ^6.3
zordius/lightncandy Version ^1.2
phpmailer/phpmailer Version ^6.4
The package schornio/static-website-generator contains the following files
Loading the files please wait ....