PHP code example of jensramakers / laravel-input-components

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

    

jensramakers / laravel-input-components example snippets


<x-input-text name="name" label="name" help="jkl;adjfkl" default="jklsdjfdjk" :true" :oduct::all()" :default="Product::whereIn('id', [5,2])->get()" :t-select-array name="selct_array_input" label="select array" :options="['jksdf',234,23]" :default="1" :ons="\Spatie\Tags\Tag::all()" :default="\Spatie\Tags\Tag::where('id', 1)->get()" option-label="name" :"telefoonnummer" label="telefooooonnummer" />
<x-input-ckeditor name="bescrijving" label="descriptie" />
<x-input-ckeditor name="intro" label="intro" :
bash
php artisan vendor:publish --provider="Jensramakers\LaravelInputComponents\LaravelInputComponentsServiceProvider"
js
module.exports = {
    content: [
        './vendor/jensramakers/**/*.blade.php',
    ],
    theme: {
        extend: {
            colors: {
                "input_color": "yellow",
            },
        },
    },
};