PHP code example of just-paja / fudjan

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

    

just-paja / fudjan example snippets


$ren->content_for('scripts', 'bower/async/lib/async.js');
$ren->content_for('scripts', 'script/example.js');
$ren->content_for('styles', 'styles/layout.js');
BASE_DIR
etc/conf.d/global/domains.json
json
{
	"global":{
		"rules":["^(www\\.)?mydomain.net$", "^(www\\.)?mydomain.net.local$"],
		"init":["www", "godmode"]
	},
	"static":{
		"rules":["static.mydomain.net.net$", "static.mydomain.net.local$"]
	}
}