{"repo":"spatie/laravel-tags","free":true,"listed":false,"github":"https://github.com/spatie/laravel-tags","clone":"git clone https://github.com/spatie/laravel-tags.git","description":"Add tags and taggable behaviour to your Laravel app","language":"PHP","stars":1748,"topics":["laravel","php","tags","database","eloquent"],"license":"MIT","category":"databases-storage","readme_excerpt":"Add tags and taggable behaviour to a Laravel app This package offers taggable behaviour for your models. After the package is installed the only thing you have to do is add the HasTags trait to an Eloquent model to make it taggable. But we didn't stop with the regular tagging capabilities you find in every package. Laravel Tags comes with batteries included. Out of the box it has support for translating tags, multiple tag types and sorting capabilities. You'll find the documentation on https://spatie.be/docs/laravel-tags. Here are some code examples: Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website. 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 package requires Laravel 8 or higher, PHP 8 or higher, and a database that supports json fields and MySQL compatible functions. Installation You can install the package via composer: The package will automatically register itself. You can publish the migration with: After the migration has been published you can create the tags and taggables tables by running the migrations: You can optionally publish the config file with:","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-tags/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."}