PHP code example of iridescent-dev / pico-multilanguage-plugin

1. Go to this page and download the library: Download iridescent-dev/pico-multilanguage-plugin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

iridescent-dev / pico-multilanguage-plugin example snippets

 php
class Pagination extends AbstractPicoPlugin {
	protected $dependsOn = array("MultiLanguage");
  ...
 html
---
Title: Bienvenue
Description: Pico est un CMS de fichier à plat stupidement simple et ultra rapide.
Language: fr
pid: home
---

language
  │   en.php
  │   fr.php
 yml
##
# Content
#
date_format: %D %T                  # Pico's default date format;
                                    #     See https://php.net/manual/en/function.strftime.php for more info