{"repo":"spatie/nova-tags-field","free":true,"listed":false,"github":"https://github.com/spatie/nova-tags-field","clone":"git clone https://github.com/spatie/nova-tags-field.git","description":"A tags field to use in your Nova apps","language":"PHP","stars":301,"topics":["laravel","nova","php","tags","field"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"A tags field for Nova apps This package contains a Nova field to add tags to resources. Under the hood it uses the spatie/laravel-tags package. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Requirements This Nova field requires MySQL 5.7.8 or higher. Installation First you must install spatie/laravel-tags into your Laravel app. Here are the installation instructions for that package. Next, you can install this package in to a Laravel app that uses Nova via composer: Usage To make an Eloquent model taggable just add the \\Spatie\\Tags\\HasTags trait to it: Next you can use the Spatie\\TagsField\\Tags field in your Nova resource: Now you can view and add tags on the blog posts screen in your Nova app. All tags will be saved in the tags table. Limiting suggestions By default a tags field will display a maximum of 5 suggestions when typing into it. If you don't want to display any suggestions, tag on withoutSuggestions() . You can change the number of suggestions with limitSuggestions() . Limiting tags By default a tags field will let you add unlimited tags. You can limit tags with limit() . Using types The underlying tags package has support for tag types. To make ","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/nova-tags-field/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}