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(4y ago)013MITBlade

Since Aug 16Pushed 4y 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 yesterday

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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

1540d 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

[toplan/laravel-sms

A mobile phone number validation solution based on laravel

83580.2k2](/packages/toplan-laravel-sms)[drupal/coder

Coder is a library to review Drupal code.

3046.8M629](/packages/drupal-coder)[hyperf/validation

hyperf validation

122.2M213](/packages/hyperf-validation)[udokmeci/yii2-phone-validator

Modern Yii2 Phone validator wrapper on top of PhoneNumberUtil library also used by Android devices

36227.5k1](/packages/udokmeci-yii2-phone-validator)[snowcap/vat-validation

EU VAT number validation

10112.3k](/packages/snowcap-vat-validation)

PHPackages © 2026

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