primix/forms

Form builder for Primix admin panel framework

Maintainers

Package info

github.com/livue-laravel/forms

pkg:composer/primix/forms

Statistics

Installs: 1

Dependents: 2

Suggesters: 1

Stars: 0

Open Issues: 0

0.1.8 2026-03-16 03:36 UTC

This package is auto-updated.

Last update: 2026-03-16 04:10:01 UTC


README

primix/forms is an official package in the Primix ecosystem. It is part of the Primix framework and lets you build composable forms with fields and layouts, keeping panel UI and behavior consistent.

What it is for

  • Define declarative forms for create, edit, and settings flows.
  • Combine fields and layouts into reusable schemas.
  • Integrate naturally with Primix panel validation and rendering.

Installation

Recommended for full Primix projects:

composer require primix/primix

Standalone module installation:

composer require primix/forms

Quick example

use Primix\Forms\Form;
use Primix\Forms\Components\Fields\TextInput;
use Primix\Forms\Components\Fields\Select;

$form = Form::make()
    ->schema([
        TextInput::make('name')->label('Name')->required(),
        Select::make('status')->options([
            'draft' => 'Draft',
            'published' => 'Published',
        ]),
    ]);