PHP code example of rayful / html

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

    

rayful / html example snippets

html+php
<select name="status" class="form-control">
 new \rayful\HTML\Generator\Options([''=>'全部','-1'=>'取消','0'=>'未完成','1'=>'成功'], $_REQUEST['status'])