Download the PHP package mydnic/laravel-kustomer without Composer

On this page you can find all versions of the php package mydnic/laravel-kustomer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-kustomer

Due to a stupid copyright infringement I had to rename this package.

Note that nothing in the code changed (still same namespace). Only the package name has changed. Namespace might changed later in a major release.

Customizable Feedback Component for Laravel

Latest Version on Packagist Build Status Code Quality

Introduction

Laravel Feedback Component allows you to easily implement a Customer Feedback component on your website. It is build with VueJS but can be implemented in any kind of Laravel Project. You just need to drop a few lines in your layout.

You probably know a lot of website that use intercom's chatting system, or crisp, chat.io and many more customer chat allowing you to get feedbacks from your website visitors.

Laravel Feedback Component is an open-source and customizable alternative that adopts the same layout. Once installed, you will see the component on your website.

We also have a Nova Tool for it!

Chatting System

I'll work on implementing a chatting system in Laravel Feedback Component, that will probably work with Laravel Nova. This is planned for V2. For now, you can only gather feedbacks from your visitors.

Demo

Laravel Feedback Component

Installation & Configuration

You may use Composer to Install Laravel Feedback Component:

After installing Laravel Feedback Component, publish its assets using the kustomer:publish Artisan command. After installing the package, you should also run the migrate command:

This will create a new feedbacks table.

Configuration

You can update the configuration of the component as you wish by editing config/kustomer.php.

I encourrage you to carefully read this config file.

Translations

All the texts that you can see in the components are translatable. After publishing the assets, you will find the texts in resources/lang/vendor/en/kustomer.php

The feedbacks labels are stored in this file as well, and the feedbacks array must match the one from you config file.

Display the component

In your public/ directory you'll find compiled css and js files that needs to be included into your html layout.

Include these on the pages you want the components to appear :

Attention If you run a VueJS application, you must add the #kustomer container outside your #app container. This is because kustomer runs on its own vue instance by default. If you want to change that, see Include assets with your own assets

Updating

When updating this package, you should re-publish the assets:

This will re-publish the compiled JS and CSS files, but also the svg files located in public/vendor/kustomer/assets. If you want to use your own images, please update the configuration file.

Include assets with your own assets

Optionnally, you can import the .vue and .sass files into your own resources/js and resources/sass folders, allowing you to heavily customize the Feedback Component components and layout.

This will also allow you to end up with only one compiled .js and .css in your app.

However, you should be carefull if you're trying to update the a latest version, because your changes might be lost.

Pre requisite

Two npm packages are required:

You can add them via npm or yarn.

We are using axios to make the HTTP request to send the feedback, so make sure axios is installed an configured in your vue app.

As in the Laravel scaffolding javascript, axios should be configured like so:

Install

Publish the VueJS component:

Publish the SASS style file:

Then in your vue app:

Retrieve Feedbacks

A Feedback essentially has 4 attributes:

Once a Feedback is stored in your database, you can use your own backoffice to display and manipulate the datas.

The Feedback model works like any other Eloquent model so it's very easy to use in your Laravel Application.

Using Laravel Nova ? No problem !

Use With Laravel Nova

If you're using Laravel Nova you will certainly want a tool to visualize all feedbacks that you have received.

You can install the official Laravel Nova Tool here.

Event, Job, Notification, etc

When a new feedback is correctly stored, we will dispatch a Laravel Event.

You can listen to this event and trigger any kind of listeners. It's up to you to decide what happens next! You can send an email to the administrator, log some data, or whatever you can think about.

In your EventServiceProvider you can update the $listen property to add the Event.

License

Laravel Kustomer is an open-sourced software licensed under the MIT license.

In this project you will find some svg icons that come from FlatIcon. You're free to change them in your own project.


All versions of laravel-kustomer with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
laravel/framework Version ^7.0|^8.0|^9.0|^10.0|^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mydnic/laravel-kustomer contains the following files

Loading the files please wait ....