PHP Classes

Laravel Categorizable: Manage models to be organized into categories

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 24 All time: 11,140 This week: 455Up
Version License PHP version Categories
laravel-categorizabl 1.0.0MIT/X Consortium ...5PHP 5, Databases, Libraries, Design P...
Description 

Author

This package can manage models to be organized into categories.

It provides a trait to use in Laravel model classes to define which model class variables will be used as keys for categories of the model objects.

Applications may request to perform operations to access or change the categories associated with model objects.

The package also provides a category translation model for the texts associated with a given category.

Innovation Award
PHP Programming Innovation award nominee
June 2021
Number 3
Many applications need to organize their objects into categories. Often those objects are stored and retrieved using model classes.

This package provides traits to simplify the development of model classes that need to be organized into categories.

It also simplifies the translation of texts that can be used to shows the categories in different languages.

Manuel Lemos
Picture of Moamen Eltouny
  Performance   Level  
Name: Moamen Eltouny <contact>
Classes: 36 packages by
Country: Egypt Egypt
Age: 31
All time rank: 259626 in Egypt Egypt
Week rank: 93 Up2 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 20x

Details

<p align="center"><a href="https://pharaonic.io" target="_blank"><img src="https://raw.githubusercontent.com/Pharaonic/logos/main/categorizable.jpg"></a></p>

<p align="center"> <a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E=7.2&color=blue&style=flat-square" alt="PHP Version : >= 7.2"></a> <a href="https://laravel.com" target="_blank"><img src="https://img.shields.io/static/v1?label=Laravel&message=%3E=6.0&color=F05340&style=flat-square" alt="Laravel Version : >= 6.0"></a> <img src="https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square" alt="License"> <a href="https://liberapay.com/Pharaonic" target="_blank"><img src="https://img.shields.io/liberapay/receives/Pharaonic?color=gold&label=Support&style=flat-square" alt="Support"></a> <br> <a href="https://packagist.org/packages/Pharaonic/laravel-categorizable" target="_blank"><img src="https://img.shields.io/static/v1?label=Packagist&message=pharaonic/laravel-categorizable&color=blue&logo=packagist&logoColor=white" alt="Source"></a> <a href="https://packagist.org/packages/pharaonic/laravel-categorizable" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-categorizable/v" alt="Packagist Version"></a> <a href="https://packagist.org/packages/pharaonic/laravel-categorizable" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-categorizable/downloads" alt="Packagist Downloads"></a> </p>

<h3 align="center">Model Categorizable Management for Laravel.</h3> <h5 align="center">Depends on <a href="https://pharaonic.io/package/2-laravel/16-translatable" target="_blank">Translatable</a>, <a href="https://pharaonic.io/package/2-laravel/2-sluggable" target="_blank">Sluggable</a>.</h5> <br>

Documentation

You can find the detailed documentation here in Laravel Categorizable Documentation.

Contributing

Thank you for considering contributing to this package! Be one of Pharaonic team.

Pharaonic Sponsors

We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Liberapay page or Patreon page.

License

This package is an open-sourced software licensed under the MIT license.


  Files folder image Files  
File Role Description
Files folder image.github (1 file)
Files folder imagesrc (1 file, 4 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
  Accessible without login Plain text file FUNDING.yml Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageconfig (1 file)
Files folder imagedatabase (1 directory)
Files folder imageModels (3 files)
Files folder imageTraits (1 file)
  Plain text file CategorizableServiceProvider.php Class Class source

  Files folder image Files  /  src  /  config  
File Role Description
  Accessible without login Plain text file categorizable.php Aux. Auxiliary script

  Files folder image Files  /  src  /  database  
File Role Description
Files folder imagemigrations (3 files)

  Files folder image Files  /  src  /  database  /  migrations  
File Role Description
  Plain text file 2021_02_01_000010_...ategories_table.php Class Class source
  Plain text file 2021_02_01_000011_...nslations_table.php Class Class source
  Plain text file 2021_02_01_000012_...orizables_table.php Class Class source

  Files folder image Files  /  src  /  Models  
File Role Description
  Plain text file Categorizable.php Class Class source
  Plain text file Category.php Class Class source
  Plain text file CategoryTranslation.php Class Class source

  Files folder image Files  /  src  /  Traits  
File Role Description
  Plain text file Categorizable.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:24
This week:0
All time:11,140
This week:455Up