PHPackages                             visio/product - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. visio/product

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

visio/product
=============

A FilamentPHP module for team discussions and idea submissions

00PHP

Since Dec 16Pushed 5mo agoCompare

[ Source](https://github.com/visio-soft/product)[ Packagist](https://packagist.org/packages/visio/product)[ RSS](/packages/visio-product/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Product - FilamentPHP Module
============================

[](#product---filamentphp-module)

A simple and clean FilamentPHP module for team discussions and idea submissions. This module enables teams to collaborate, submit new ideas, and interact with each other's suggestions.

Features
--------

[](#features)

- 💡 **Idea Management**: Submit and manage product ideas
- 🎯 **Importance Levels**: Categorize ideas (Not important, Nice-to-have, Important, Critical)
- 💬 **Comments**: Discuss ideas with team members
- ❤️ **Reactions**: Show support for ideas with reactions
- 👥 **User Interactions**: Engage with other users' ideas
- 🔍 **Search &amp; Filter**: Easily find ideas by title, description, importance, or user
- 🗑️ **Soft Deletes**: Safely delete and restore ideas and comments

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel 10.x or 11.x
- FilamentPHP 4.x

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require visio/product
```

Publish and run the migrations:

```
php artisan vendor:publish --tag="product-migrations"
php artisan migrate
```

Optionally, you can publish the config file:

```
php artisan vendor:publish --tag="product-config"
```

Configuration
-------------

[](#configuration)

The configuration file `config/product.php` allows you to customize:

- User model
- Table names
- Enable/disable reactions
- Importance levels

Example configuration:

```
return [
    'user_model' => env('PRODUCT_USER_MODEL', 'App\\Models\\User'),
    'ideas_table' => 'ideas',
    'comments_table' => 'idea_comments',
    'enable_reactions' => true,
    'importance_levels' => [
        'not_important' => 'Not important',
        'nice_to_have' => 'Nice-to-have',
        'important' => 'Important',
        'critical' => 'Critical',
    ],
];
```

Usage
-----

[](#usage)

### Registering the Plugin

[](#registering-the-plugin)

Register the resources in your Filament panel provider:

```
use Visio\Product\Filament\Resources\IdeaResource;
use Visio\Product\Filament\Resources\IdeaCommentResource;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->resources([
            IdeaResource::class,
            IdeaCommentResource::class,
        ]);
}
```

### Creating Ideas

[](#creating-ideas)

Users can create ideas with the following information:

- **Title**: Brief description of the idea
- **Description**: Detailed explanation
- **Importance**: How important is this idea? (Not important, Nice-to-have, Important, Critical)
- **Context**: Why is this needed? Additional context to help understand the value

### Interacting with Ideas

[](#interacting-with-ideas)

- **View Details**: Click on any idea to see full details
- **Add Comments**: Share thoughts and feedback on ideas
- **React**: Show support by adding reactions
- **Filter &amp; Search**: Find specific ideas using filters and search

### Managing Comments

[](#managing-comments)

- Comments are displayed on the idea view page
- Users can add, edit, and delete their comments
- Comments support soft deletes for data recovery

Models
------

[](#models)

### Idea Model

[](#idea-model)

```
use Visio\Product\Models\Idea;

// Create an idea
$idea = Idea::create([
    'title' => 'New Feature Request',
    'description' => 'We need this feature...',
    'importance' => 'important',
    'context' => 'This would help us...',
    'user_id' => auth()->id(),
]);

// Add a reaction
$idea->incrementReactions();

// Get comments
$comments = $idea->comments;
```

### IdeaComment Model

[](#ideacomment-model)

```
use Visio\Product\Models\IdeaComment;

// Create a comment
$comment = IdeaComment::create([
    'idea_id' => $idea->id,
    'user_id' => auth()->id(),
    'comment' => 'Great idea! I suggest...',
]);
```

Importance Levels
-----------------

[](#importance-levels)

The module includes four importance levels with visual badges:

- 🔵 **Not important** (Gray badge)
- 💙 **Nice-to-have** (Info/Blue badge)
- ⚠️ **Important** (Warning/Yellow badge)
- 🔴 **Critical** (Danger/Red badge)

Database Structure
------------------

[](#database-structure)

### Ideas Table

[](#ideas-table)

- `id`: Primary key
- `title`: Idea title
- `description`: Detailed description
- `importance`: Importance level
- `context`: Additional context
- `user_id`: Idea creator
- `reactions_count`: Number of reactions
- `created_at`, `updated_at`, `deleted_at`

### Idea Comments Table

[](#idea-comments-table)

- `id`: Primary key
- `idea_id`: Reference to idea
- `user_id`: Comment author
- `comment`: Comment text
- `created_at`, `updated_at`, `deleted_at`

Testing
-------

[](#testing)

```
composer test
```

Code Formatting
---------------

[](#code-formatting)

```
composer format
```

License
-------

[](#license)

MIT License

Credits
-------

[](#credits)

- **Visio Soft**

Support
-------

[](#support)

For support, please open an issue on GitHub.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance50

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccfd44cdbe122bb761e916c897f45f8720987e4656713e185d1a3ea800eae09f?d=identicon)[fatihalp](/maintainers/fatihalp)

---

Top Contributors

[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (5 commits)")[![fatihalp](https://avatars.githubusercontent.com/u/219454?v=4)](https://github.com/fatihalp "fatihalp (3 commits)")

### Embed Badge

![Health badge](/badges/visio-product/health.svg)

```
[![Health](https://phpackages.com/badges/visio-product/health.svg)](https://phpackages.com/packages/visio-product)
```

###  Alternatives

[panique/laravel-sass

Compiles your Sass .scss files to .css every time you run your app (in development)

73171.8k1](/packages/panique-laravel-sass)[dominicwatts/plusminusquantity

Plus and Minus quantity on product page and minicart

107.0k](/packages/dominicwatts-plusminusquantity)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
