PHP code example of msoa / luya-module-gallery

1. Go to this page and download the library: Download msoa/luya-module-gallery 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/ */

    

msoa / luya-module-gallery example snippets


'modules' => [
    // ...
    'gallery' => 'luya\gallery\frontend\Module',
    'galleryadmin' => 'luya\gallery\admin\Module',
]

 foreach($catData as $item): 

<table border="1">
 foreach($albenData as $item): 

<table border="1">
<tr>
    <td>
        <h2><?= $model->title;