PHP code example of tradzero / backtools

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

    

tradzero / backtools example snippets


<select name="attr">
    @foreach($models as $model)
        <option
            value="{{$loop->index}}"
            {{ get_blade_option_selected($model, 'attr', $loop->index) }}>
            {{$value}}
        </option>
    @endforeach
</select>

@foreach($models as $model)
    <label class="checkbox-custom check-success">
    <input
        name="attrs[]"
        type="checkbox"
        value="{{$model->id}}"
        id="activity{{$model->id}}"
        {{ get_blade_checkbox_checked($model, 'attrs', $model->id) }}>
        <label for="activity{{$model->id}}">{{ $model->name }}</label>
    </label>
@endforeach