PHP code example of andcarpi / laravel-popper

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

    

andcarpi / laravel-popper example snippets


php artisan vendor:publish --provider="andcarpi\Popper\PopperServiceProvider" --tag=config

// 1st param is mouseenter, 2nd is focus, 3rd is click
{{ Popper::trigger(true, true, false)->pop('This tooltip appears onmouseover and onfocus!'); }}