There is no license information available for the latest version (v1.2) of this package.

A form builder that fetches a tables structure and creates suitable fields, ideal for admin panels or to ease up the way of populating a table!

Installs: 27

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/patryknamyslak/patform

v1.2 2026-02-16 00:09 UTC

This package is auto-updated.

Last update: 2026-02-16 00:10:29 UTC


README

$databaseConnection = new Patbase(database_name: "bite_sized_projects", username: "root", password: "root");

$form = new Form(databaseConnection: $databaseConnection, table: "patform_example");

$form->action("/")->method("POST")->wrapFields()->htmx()->prepareFields();

// Here is a code snippet on how you can handle same page submissions
match($_SERVER['REQUEST_METHOD']){
    "GET" => $form->render(),
    // You can use this if you want to make same page submissions
    "POST" => $form->submit(formData: $_POST),
};