In this multiple select dropdown with checkbox in php laravel tutorial, we will see how to create a multiselect with checkbox html form in laravel application. We can generate or create multi select dropdown using select2 or you can choose select picker jquery plugin. In this tutorial, we will choose select picker to create this dynamic multi select dropdown with checkbox jquery.

So let's see the preview of select2 multiple select with checkbox:


So let's see the source code of multiple select dropdown with checkbox in php laravel:


<link rel="stylesheet" href="">
<link rel="stylesheet" href="" />
        height: 40px;
        width: 400px !important;

<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header" style="background: gray; color:#f1f7fa; font-weight:bold;">
                    Laravel 9 Multi Select Dropdown With Checkbox Example  -  Laravelia
                 <div class="card-body">
                        $languages = [

                        $selected = [
                    <form class="w-px-500 p-3 p-md-3" action="{{ route('') }}" method="post" enctype="multipart/form-data">
                        <div class="row mb-3">
                            <label class="col-sm-3 col-form-label">Framework</label>
                            <div class="col-sm-9 mt-3">
                                <select class="js-example-basic-single" multiple name="Framework[]" data-live-search="true">
                                    @foreach ($languages as $item)
                                        <option value="{{ $item }}"
                                            {{ in_array($item,$selected) ? 'selected' : '' }}>
                                            {{ $item }}
                        <div class="row mb-3">
                            <label class="col-sm-3 col-form-label"></label>
                            <div class="col-sm-9">
                                <button type="submit" class="btn btn-success text-white">Submit</button>

<script src=""></script>
<script src=""></script>
<script src=""></script>


Read also: How To Show Multiple Select Option Selected In Laravel Blade



Hope this multiselect with checkbox tutorial will help. After completing this laravel multi select dropdown with checkbox tutorial, your concept will be clear about dynamic multi select dropdown with checkbox jquery. Hope this select2 multiple select with checkbox tutorial will clear your concept about multiple select dropdown with checkbox in php laravel.