PHPackages                             andcarpi/laravel-popper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. andcarpi/laravel-popper

ActiveLibrary[Templating &amp; Views](/categories/templating)

andcarpi/laravel-popper
=======================

A Easy to use Laravel Package, that allows you to generate tooltips in your blade views.

0.9.4(6y ago)23120.8k↓15.3%3[6 issues](https://github.com/andcarpi/laravel-popper/issues)1MITPHP

Since Aug 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/andcarpi/laravel-popper)[ Packagist](https://packagist.org/packages/andcarpi/laravel-popper)[ RSS](/packages/andcarpi-laravel-popper/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)DependenciesVersions (6)Used By (1)

Laravel Popper
==============

[](#laravel-popper)

This package provides an easy way to add tooltips in your Laravel blade views. Powered by Popper.js and Tippy.js. With this, you will not lose time getting them done. Install and use, out of the box.

[![Laravel Popper](docs/welcome.gif)](docs/welcome.gif)

Install
-------

[](#install)

First things, first... Use composer to install the package:

```
composer require andcarpi/laravel-popper

```

Setup
-----

[](#setup)

When composer finish his job, add the Service Provider and the facade to your app.config in the config folder:

> Skip this if you use Laravel 5.5 and above.

```
'providers' => [
    // ...
    // List of Service Providers...
    // ...
    andcarpi\Popper\PopperServiceProvider::class,
],

'aliases' => [
    // ...
    // List of Facades Aliases...
    // ...
    'Popper' => andcarpi\Popper\Facades\Popper::class,
],

```

Usage
-----

[](#usage)

To use Popper in your view, you need to inject the assets needed! Use `@include('popper::assets')` in the views you need tooltips, right before the body closing tag.

> ps: If you have a Master View, add the assets on it :)

```
   @include('popper::assets')

```

Now, it's time to use it. To generate a simple tooltip, just use the Popper facade inside any html element.

```
Click Me!
