PHP code example of fvaldes33 / plus

1. Go to this page and download the library: Download fvaldes33/plus 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/ */

    

fvaldes33 / plus example snippets


    
    return [
        "namespace" => "union\\",
        "folderPath" => CRAFT_BASE_PATH . '/union',
        "controllerNamespace" => "union\\controllers",
        "twigextension" => "union\\twigextensions\\UnionTwigExtension",
        "services" => [
            "meta" => "union\\services\\MetaService"
        ],
        "variables" => [
            "name" => "union\\twigextensions\\UnionVariable"
        ]
    ];