PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Written By
Views

Laravel Kustomer Package

Laravel Kustomer Package

Laravel Kustomer is a simple Laravel package that adds a customer feedback popup to your site. This package was created by Clément Rigo, you can checkout the repo here: https://github.com/mydnic/laravel-kustomer

Take a look at the demo image below:

Installation is very easy. You can run the following composer command to install the package:

composer require mydnic/laravel-kustomer

Then you'll need to publish the assets and run the migrations:

php artisan kustomer:publish

php artisan migrate

Finally, add the CSS and the JS in the header and include the component in your HTML:

<html>
    <head>
        <script src="{{ asset('vendor/kustomer/js/kustomer.js') }}" defer></script>
        <link href="{{ asset('vendor/kustomer/css/kustomer.css') }}" rel="stylesheet" type="text/css">
    </head>
    <body>
        <div id="kustomer">
            <kustomer :params="{{ json_encode(config('kustomer')) }}"></kustomer>
        </div>
    </body>
</html>

And you're good to go!

Checkout the repo to learn more: https://github.com/mydnic/laravel-kustomer

Comments (0)

loading comments