PHP code example of codevicecompany / laravel-ui-kit

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

    

codevicecompany / laravel-ui-kit example snippets


return [
];
bash
php artisan vendor:publish --tag="laravel-ui-kit-config"
bash
php artisan vendor:publish --tag="laravel-ui-kit-views"
html

<ui-input bag="bag" />

<ui-select bag="bag">
    <option value=""></option>
</ui-select>

<ui-textarea bag="bag">{{-- text --}}</ui-textarea>

@isset($name)
<x-ui-error :field="$name" :bag="$bag" id="{{$for}}-error">
    <ul>
        @foreach ($component->messages($errors) as $error)
        <li class="mt-2 text-sm text-red-600">{{ $error }}</li>
        @endforeach
    </ul>
</x-ui-error>
@endisset