PHP code example of primalbase / laravel-view-build

1. Go to this page and download the library: Download primalbase/laravel-view-build 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/ */

    

primalbase / laravel-view-build example snippets

bash
$ php artisan layout:make
$ php artisan layout:make --dwt=other.dwt # other.dwtから生成(defaultはmain)
bash
$ php artisan layout:update
packages/primalbase/laravel-view-build/config.phpの定義に従ってファイルを一括更新(layout:make)する
bash
$ php artisan layout:make
bash
$  php artisan layout:make --no-base