oleaass/laravel-categories

Add cateogires to any Laravel applications

Fund package maintenance!
oleaass

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:laravel-package

v1.0.0 2021-08-19 23:09 UTC

This package is auto-updated.

Last update: 2024-04-20 05:28:50 UTC


README

The code uses polymorphic relations, which allows for simple but robust implementation of categories on any model you might have in your application.

Installation

$ composer require oleaass/laravel-categories

Usage

Prepare your model

use OleAass\Categories\HasCategories;

class Product extends Model
{
	use Categorizable;
}

Support Me

I spend my free time making packages. So if you want to support me and my work, I would really appreciate if you bough me a coffee.

Buy Me A Coffee