PHPackages                             srg/yupforms - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. srg/yupforms

ActivePackage[Validation &amp; Sanitization](/categories/validation)

srg/yupforms
============

Flexible and reliable form collection (contact, feedback, subscribe, etc..)

1.0.3(3y ago)013MITBlade

Since Aug 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ser-gi-o/yupforms)[ Packagist](https://packagist.org/packages/srg/yupforms)[ RSS](/packages/srg-yupforms/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

YupForms
========

[](#yupforms)

Flexible and reliable form collection. Yupforms is headless, independent of frontend form implementation.

Collect submissions for your application forms like contact, feedback, subscribe, etc. regardless of your frontend framework or amount of fields in form.

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

[](#installation)

`composer require srg\yupforms`

#### Database

[](#database)

`php artisan migrate`

Admin
-----

[](#admin)

YupForms Admin comes with CRUD functionality for forms(YupForm) and form submissions (YupFormData). The admin frontend was built with bootstrap, jquery and datatables.net.

#### Route

[](#route)

Yupforms route /yupforms/yupform

#### Events

[](#events)

There are two events available to listen for when a form is submitted. YupFormSubmissionAccepted when a form is saved even if it is flagged and YupFormSubmissionRejected when a form submission is not saved at all.

How to Use:
-----------

[](#how-to-use)

Each form has a public action url for form submissions, a sample HTML form and Ajax form generated. Use an example form as a starting point and add the needed fields.

Each YupForm has settings. The form must be enabled to accept form submissions.

In addition, there is a download submissions as CSV function.

License
-------

[](#license)

YupForms is open-sourced software licensed under the MIT license.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~217 days

Total

4

Last Release

1449d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f25a0277c9f9d018e0ccc1fdbdf9d7920f8f4040ac935484a7ea8ca583b14bf?d=identicon)[srg](/maintainers/srg)

---

Top Contributors

[![ser-gi-o](https://avatars.githubusercontent.com/u/7634076?v=4)](https://github.com/ser-gi-o "ser-gi-o (5 commits)")

### Embed Badge

![Health badge](/badges/srg-yupforms/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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