PHP code example of xiaolin / ufa
1. Go to this page and download the library: Download xiaolin/ufa 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/ */
xiaolin / ufa example snippets
ufa()->extJs([
'home.js',
'../lib/jquery.js'
])
ufa()->extJs([
'home.css',
'../lib/jquery-ui.css'
])
<div>
<img src="{{ufa()->asset('image/logo.png')}}"/>
</div>
ufa()->addParam(['count' => $count, 'pagename' => $page_name]);