PHPackages                             elmudo-dev/filament-surveys - 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. [Admin Panels](/categories/admin)
4. /
5. elmudo-dev/filament-surveys

ActiveLibrary[Admin Panels](/categories/admin)

elmudo-dev/filament-surveys
===========================

Módulo de encuestas para Filament.

v2.0.3(2mo ago)10MITPHPPHP ^8.2CI passing

Since Apr 2Pushed 2mo agoCompare

[ Source](https://github.com/elmudometal/filament-surveys)[ Packagist](https://packagist.org/packages/elmudo-dev/filament-surveys)[ Docs](https://github.com/elmudometal/filament-surveys)[ GitHub Sponsors](https://github.com/ElmudoDev)[ RSS](/packages/elmudo-dev-filament-surveys/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (30)Versions (9)Used By (0)

\[# This is my package filament-surveys\]

Compatibility: This v1 release of the package is intended for Filament v3.

[![Latest Version on Packagist](https://camo.githubusercontent.com/3b3e5a711cb06a201d500a926adb00beff42131e10d6ffdbdb335a7680ee29df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c6d75646f2d6465762f66696c616d656e742d737572766579732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elmudo-dev/filament-surveys)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c933fc6fb392d8cc58938abea538c0f8456502d0accea6a0bd60ec1db84bf772/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c6d75646f2d6465762f66696c616d656e742d737572766579732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/elmudometal/filament-surveys/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a7c20c20c31ac5418f5556a361d4a6b62c0bfc3cb6cfddaefa83927953385906/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c6d75646f2d6465762f66696c616d656e742d737572766579732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/elmudometal/filament-surveys/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/427193d36fb2a76c2d3f08b6c448b992738a7a2a72a4acf82f046b1ce61d59d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c6d75646f2d6465762f66696c616d656e742d737572766579732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elmudo-dev/filament-surveys)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

Compatibility note: This v1 branch/release of the package is intended to work with Filament v3. If you are using a different Filament version (for example v4 or v5), consult the main branch.

You can install the package via composer:

```
composer require elmudo-dev/filament-surveys
```

You can publish and run the migrations with:

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

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-surveys-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-surveys-views"
```

This is the contents of the published config file:

```
return [
    // Prefijo para las rutas públicas (participantes)
    'public_prefix' => 'survey',

    // Remitente opcional para correos de invitación
    'invite_mail_from' => env('SURVEYS_MAIL_FROM', null),

    // Cola opcional para encolar los correos de invitación
    'invite_queue' => env('SURVEYS_INVITE_QUEUE', null),

    // Longitud del enlace único para participantes
    'link_length' => 32,

    /**
     * Enum que contiene los modelos disponibles para asociar a las encuestas.
     * El enum debe implementar un método cases() que retorne los modelos.
     * Si usas Filament, puedes simplemente pasar la clase del Enum.
     */
    'models_enum' => null,

    'model_type' => 'App\Models\Survey',
];
```

Usage
-----

[](#usage)

### Asociación de Modelos mediante Enum

[](#asociación-de-modelos-mediante-enum)

Puedes configurar un Enum para listar los modelos que pueden tener encuestas asociadas. Esto permite seleccionar el modelo directamente desde el administrador de Filament al crear una encuesta.

1. Crea un Enum que implemente las opciones:

```
namespace App\Enums;

enum SurveyModels: string {
    case Course = \App\Models\Course::class;
    case Event = \App\Models\Event::class;
}
```

2. Configura el Enum en `config/filament-surveys.php`:

```
'models_enum' => \App\Enums\SurveyModels::class,
```

Al hacer esto, en el formulario de creación de encuestas aparecerá un selector para elegir a qué modelo pertenece la encuesta. El sistema utilizará este valor para filtrar y guardar las respuestas.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [elmudometal](https://github.com/elmudometal)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance84

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% 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.

###  Release Activity

Cadence

Every ~1 days

Total

7

Last Release

89d ago

Major Versions

1.x-dev → v2.0.02026-04-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16867145?v=4)[Hernan Soto](/maintainers/elmudometal)[@elmudometal](https://github.com/elmudometal)

---

Top Contributors

[![elmudometal](https://avatars.githubusercontent.com/u/16867145?v=4)](https://github.com/elmudometal "elmudometal (52 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laravelfilamentElmudo-Devsurveys

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/elmudo-dev-filament-surveys/health.svg)

```
[![Health](https://phpackages.com/badges/elmudo-dev-filament-surveys/health.svg)](https://phpackages.com/packages/elmudo-dev-filament-surveys)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6649.5k1](/packages/marcelweidum-filament-passkeys)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

2317.4k](/packages/mradder-filament-logger)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.5k1](/packages/finity-labs-fin-mail)

PHPackages © 2026

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