Download the PHP package jflepp/picopagefolders without Composer
On this page you can find all versions of the php package jflepp/picopagefolders. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jflepp/picopagefolders
More information about jflepp/picopagefolders
Files in jflepp/picopagefolders
Download jflepp/picopagefolders
More information about jflepp/picopagefolders
Files in jflepp/picopagefolders
Vendor jflepp
Package picopagefolders
Short Description Turns every page into a folder. Enables multilanguage support and thumbnail creation
License unlicense
Package picopagefolders
Short Description Turns every page into a folder. Enables multilanguage support and thumbnail creation
License unlicense
Please rate this library. Is it a good library?
Informations about the package picopagefolders
PicoPageFolders
PicoPageFolders is a plugin for Pico which provides MultiLanguage support. Pages are being separated into folders, the file names are being used as their language.
This plugin features a 100% CodeCoverage (wrappers excluded), separated in Unit and Integration Tests.
Pull Requests are welcome!
Features
- Organize multiple languages in a folder
- URL rewriting
- Additional twig variables
- Skip loading of not needed pages
- Adjusted Index and 404 pages
Installation
Install via composer: composer require jflepp/picopagefolders
Creating multi language pages
content
|
|- 404
|- en.md
|- de.md
|- index
|- en.md
|- de.md
|- sites
|- articles
|- Page1
|- de.md
|- en.md
Pages:
- index: /
- index-de: /?lang=de
- sites/articles/Page1
- sites/articles/Page1?lang=de
Additional variables
index_page
- current pagelanguage
- current languageother_languages
- other languages available with links (key-value)
examples
Display other languages
{% for lang,page in other_languages %}
<li>{{ lang }} - <a href="{{ page }}">{{ page }}</a></li>
{% endfor %}
All versions of picopagefolders with dependencies
PHP Build Version
Package Version
No informations.
The package jflepp/picopagefolders contains the following files
Loading the files please wait ....