PHP code example of actb / laravel-form-helpers

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

    

actb / laravel-form-helpers example snippets


'providers' => [
    ActivismeBE\FormHelper\FormServiceProvider::class,
];

$cardTypes = [
    'VISA' => 'Visa',
    'MC'   => 'Master Card',
    'AME'  => 'American Express',
];
blade
<form action="/users/123" method="POST">
    @form($user)
</form>
 echo app('Activisme_BE')->model(`       | `); 
 echo app('Activisme_BE')->input(`       | `); 
 echo app('Activisme_BE')->text(`        | `); 
 echo app('Activisme_BE')->checkbox(`    | `); 
 echo app('Activisme_BE')->radio(`       | `); 
 echo app('Activisme_BE')->options(`     | `); 
 echo app('Activisme_BE')->error(`       | `);