PHP code example of tuijncode / html

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

    

tuijncode / html example snippets


Route::post('profile',
    [
    'before' => 'csrf',
        function()
        {
            //
        }
    ]
);

{{ Form::email($name, $value = null, $attributes = []) }}
{{ Form::file($name, $attributes = []) }}

// resources/views/components/form/text.blade.php
<div class="form-group">
    {{ Form::label($name, null, ['class' => 'control-label']) }}
    {{ Form::text($name, $value, array_merge(['class' => 'form-control'], $attributes)) }}
</div>