PHP code example of gillix / framework

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

    

gillix / framework example snippets



unction \glx\core\node;

$root = node([ 
    'about' => [
        'type'  => 'SECTION',
        'Title' => 'About',
        'Text'  => 'About World',
        'order' => 1
    ],
    'contacts' => [
        'type'  => 'SECTION',
        'Title' => 'Contact',
        'Text'  => 'Contact World',
        'order' => 3
    ],
    'products' => [
        'type'  => 'SECTION',
        'Title' => 'Products',
        'Text'  => 'Sell World',
        'order' => 2
    ],
    'Title' => 'Home',
    'Text'  => 'Hello World',
    'Header' => function() {