Looking for Yii2 Guide Type Global Search


I am after creating a search box similar to the one that you can find on the Yii2 Guide Here


Unfortunately I wasn’t lucky finding a plugin for it.

Is there one at the moment?

So far I have figure out that I need to add the following to my view\layout\main.php inside the nav.

Many Thanks for any help!

//global search box

echo '

    <div class="navbar-form navbar-left" role="search">

        <div class="form-group">

            <input id="searchbox" type="text" class="form-control" placeholder="Search">



    <div id="search-resultbox" style="display: none;" class="modal-content">

        <ul id="search-results">




Here it is: https://github.com/cebe/js-search

Many Thanks!