PHPackages                             granadaorm/form - 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. granadaorm/form

ActiveLibrary

granadaorm/form
===============

Form automation for Granada ORM models

1.4.6(2y ago)061↓100%MITPHPPHP &gt;=5.6.0

Since Sep 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/GranadaORM/Form)[ Packagist](https://packagist.org/packages/granadaorm/form)[ Docs](https://github.com/GranadaORM/Form)[ RSS](/packages/granadaorm-form/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

Form
====

[](#form)

Automated forms for models built with GranadaORM/Builder

Installation
============

[](#installation)

Simply install using composer:

`composer require granadaorm/form`

Usage
=====

[](#usage)

First, load up a record from the database using the model built from the Builder:

`$affiliate = \MyCustomApp\Affiliate::model()->find_one();`

Then create a form, specifying the framework of the page, e.g. Bootstrap (bs3/bs4) or Bulma:

`$form = $affiliate->getForm(\Granada\Form\Bulma::class);`

And render it to the page:

```
echo $form->beginForm();
echo $form->renderFields();
echo $form->build()
    ->setType('submit')
    ->setValue('Save')
    ->render();
echo $form->endForm();

```

Rendering Partial Forms
-----------------------

[](#rendering-partial-forms)

To only show select fields or set the order manually, you can specify the fields individually:

```
echo $form->beginForm();
echo $form->renderField('name');
echo $form->renderField('phone');
echo $form->build()
    ->setType('submit')
    ->setValue('Save')
    ->render();
echo $form->endForm();

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~112 days

Recently: every ~304 days

Total

12

Last Release

831d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4043827?v=4)[Josh Marshall](/maintainers/joshbmarshall)[@joshbmarshall](https://github.com/joshbmarshall)

---

Top Contributors

[![joshbmarshall](https://avatars.githubusercontent.com/u/4043827?v=4)](https://github.com/joshbmarshall "joshbmarshall (37 commits)")

---

Tags

form-builder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/granadaorm-form/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)

PHPackages © 2026

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