PHP code example of nemorize / hanji

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

    

nemorize / hanji example snippets




use Hanji\Config;

return (new Config())
    ->input('site')
    ->output('_site')
    ->title('My site')
    ->baseUrl('https://example.com')
    ->timezone('Asia/Seoul');
sh
composer /bin/hanji init .
php vendor/bin/hanji build
sh
php vendor/bin/hanji serve
php vendor/bin/hanji clean