Download the PHP package codekinz/livewire-easy-tags without Composer

On this page you can find all versions of the php package codekinz/livewire-easy-tags. 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 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

To install Livewire Easy Tags, use Composer:

Prerequisite

Getting Started

Setup

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

Publish the migration and config files

Run the migration

Set up the Livewire component

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

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

Add trait to Laravel Model

This package uses Laravel Spatie Tags as an underlying package. So, in order to use its functionality, you need to use this Trait HasSpatieTags in your model class.

Usage

Now we are good to go. We just need to call our Livewire component in a blade file.

Here is the explanation of parameters

Configurations

Configurations are available at config/livewire-easy-tags.php. You can change the configuration in this file globally or you can use this function in your Tags component if you want to have multiple tags component

FAQs

Q. How to add or change colors of tags?
A. If you click on any tag you will see a dropdown containing the list of colors and a delete button. Choose any color and you will see the effect

Q. How to delete a tag permenantly?
A. Just like previously, you need to click on the tag you will see a dropdown containing list of colors and a delete button. Click on the delete button to remove that tag permanently.

Q. How to edit a tag?
A. Double click on a tag and edit it.

Main Contributor

License

Livewire Easy Tags is open-source software licensed under the MIT license and powered by Codekinz


All versions of livewire-easy-tags with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
livewire/livewire Version ^2.12
spatie/laravel-tags Version ^4.4
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 codekinz/livewire-easy-tags contains the following files

Loading the files please wait ....