PHP code example of gridprinciples / blade-forms

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

    

gridprinciples / blade-forms example snippets

bash
php artisan vendor:publish --tag="blade-forms-config"
bash
php artisan vendor:publish --tag="blade-forms"
blade
<x-form::select
    name="frequency"
    label="How frequently would you like to receive updates?"
    :options="[
        'sync' => 'As soon as anything happens',
        'daily' => 'Daily updates',
        'weekly' => 'Weekly updates',
        'monthly' => 'Monthly updates',
    ]"
    />
blade
<form method="POST" action="{{ route('submission-route') }}">
    @csrf
    @method('PUT')
    {{-- form elements --}}
</form>