Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/dereuromark/cakephp-tags

CakePHP Tags Plugin
https://github.com/dereuromark/cakephp-tags

cakephp tagging tags

Last synced: 3 months ago
JSON representation

CakePHP Tags Plugin

Lists

README

        

# CakePHP Tags Plugin

[![CI](https://github.com/dereuromark/cakephp-tags/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-tags/actions/workflows/ci.yml?query=branch%3Amaster)
[![Coverage Status](https://img.shields.io/codecov/c/github/dereuromark/cakephp-tags/master.svg)](https://codecov.io/github/dereuromark/cakephp-tags/branch/master)
[![Latest Stable Version](https://poser.pugx.org/dereuromark/cakephp-tags/v/stable.svg)](https://packagist.org/packages/dereuromark/cakephp-tags)
[![Total Downloads](https://img.shields.io/packagist/dt/dereuromark/cakephp-tags.svg?style=flat-square)](https://packagist.org/packages/dereuromark/cakephp-tags)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
[![License](https://poser.pugx.org/dereuromark/cakephp-tags/license.svg)](LICENSE)

Make tagging of entities a piece of cake.

This branch is for **CakePHP 5.0+**. For details see [version map](https://github.com/dereuromark/cakephp-tags/wiki#cakephp-version-map).

## Install

Using Composer:

```
composer require dereuromark/cakephp-tags
```

You then need to load the plugin. In `src/Application.php`, something like:

```php
public function bootstrap() {
parent::bootstrap();
$this->addPlugin('Tags');
}

```

Also don't forget to run migration (e.g. using Migrations plugin):
```
bin/cake migrations migrate -p Tags
```

## Demo
See Sandbox @ https://sandbox.dereuromark.de/sandbox/tags

Tutorial and Blog Post: https://www.dereuromark.de/2018/07/12/tutorial-cakephp-tagging/

## Documentation

For documentation, as well as tutorials, see the [docs](docs/) directory of this repository.