PHPackages                             codekinz/livewire-easy-tags - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. codekinz/livewire-easy-tags

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codekinz/livewire-easy-tags
===========================

A Laravel tag system for artisans which is built in Livewire, Laravel Spatie tags, Tagify and Alpine Js.

v1.0.3(2y ago)213MITBladePHP ^7.4|^8.0

Since Jul 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Zain541/livewire-easy-tags)[ Packagist](https://packagist.org/packages/codekinz/livewire-easy-tags)[ RSS](/packages/codekinz-livewire-easy-tags/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Livewire Easy Tags
==================

[](#livewire-easy-tags)

Livewire Easy Tags is a powerful and convenient package that enhances the Livewire experience by simplifying the process of working with tags and tag inputs. With this package, you can easily integrate tags functionality into your Livewire components, allowing users to add, edit, remove tags and add colors to tags effortlessly.

Installation
------------

[](#installation)

To install Livewire Easy Tags, use Composer:

```
composer require codekinz/livewire-easy-tags
```

Prerequisite
------------

[](#prerequisite)

- Laravel 7.x or higher
- Livewire 2.x or higher
- Alpine Js 3.x or higher
- Tagify 3.x or higher
- Tailwind 2.x or higher

Getting Started
---------------

[](#getting-started)

### Setup

[](#setup)

1. After installing the package via Composer, you may need to add the service provider to your `config/app.php` file:

```
// config/app.php

'providers' => [
    // Other service providers
    Codekinz\LivewireEasyTags\LivewireEasyTagsServiceProvider::class,
],
```

Publish the migration and config files

```
php artisan vendor:publish --tag=livewire-easy-tags
```

Run the migration

```
php artisan migrate
```

### Set up the Livewire component

[](#set-up-the-livewire-component)

In order to use Livewire easy tags, you will first need to create a Livewire component

```
php artisan make:livewire Tags
```

In Livewire Tags component, instead of extending the Livewire class you will need to extend the `LivewireEasyTags`. You Tags component should look like this

```
