PHPackages                             cupcode/formbuilder - 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. cupcode/formbuilder

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

cupcode/formbuilder
===================

This is my package formbuilder

v1.0.0(1y ago)02MITPHPPHP ^8.3

Since Dec 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Nashwan-Dlshad/cupcode-formbuilder)[ Packagist](https://packagist.org/packages/cupcode/formbuilder)[ Docs](https://github.com/nashwan-dlshad/formbuilder)[ RSS](/packages/cupcode-formbuilder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (2)Used By (0)

Cupcode/Formbuilder
===================

[](#cupcodeformbuilder)

This is an example ReadMe with light selections.

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

[](#installation)

```
  composer require cupcode/formbuilder
  php artisan cupcode:formbuilder
```

Install dependencies

```
npm i @inertiajs/vue3 filepond filepond-plugin-image-preview filepond-plugin-file-poster  @mdi/font @vitejs/plugin-vue ziggy-js vuetify vite-plugin-vuetify @tailwindcss/forms @vitejs/plugin-vue
```

Example
-------

[](#example)

Laravel Controller

```
use CupCode\FormBuilder\Components\FileUpload;
use CupCode\FormBuilder\Components\TextInput;
public function form() :Form{
        return Form::make()->schema([
            TextInput::make('name'),
            FileUpload::make('image')
        ]);
    }
    public function forms() :array{
        return [
            'form' => $this->form()
        ];
    }
    /**
     * Display a listing of the resource.
     */
    public function index()
    {
        return inertia('Home', [
            'forms' => $this->forms()
        ]);
    }
```

Vue Page

```

    import {Form, ModalForm} from 'cupcodeformbuilder'
    const props = defineProps(['forms']);

```

Features
--------

[](#features)

- Text Field
- Numric Field
- Text Area
- Select
- File Upload
- Radio Button
- Checkbox
- Group (for Design)
- Validation
- Chained method to set properties

Usage/Examples
--------------

[](#usageexamples)

```
use CupCode\FormBuilder\Components\FileUpload;
use CupCode\FormBuilder\Components\TextInput;
use CupCode\FormBuilder\Components\CheckboxInput;
use CupCode\FormBuilder\Components\Group;
use CupCode\FormBuilder\Components\RadioInput;
use CupCode\FormBuilder\Components\Select;
use CupCode\FormBuilder\Components\ToggleInput;

[Component]::make('name')
```

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

[](#contributing)

Contributions are always welcome!

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

Authors
-------

[](#authors)

- [@Nashwan-Dlshad](https://github.com/Nashwan-Dlshad)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance40

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

509d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf399a33786d4bda5487b7861c95d893f3b32566cd614c742b999e077c2b40ba?d=identicon)[Nashwan-Dlshad](/maintainers/Nashwan-Dlshad)

---

Top Contributors

[![Nashwan-Dlshad](https://avatars.githubusercontent.com/u/98420403?v=4)](https://github.com/Nashwan-Dlshad "Nashwan-Dlshad (5 commits)")

---

Tags

laravelformbuildereasycode

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/cupcode-formbuilder/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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