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

ActiveAsgard-module[Utility &amp; Helpers](/categories/utility)

sagsoz06/formbuilder-module
===========================

1.1.1(7y ago)039MITJavaScriptPHP &gt;=5.4

Since Nov 7Pushed 5y agoCompare

[ Source](https://github.com/aniliso/formbuilder-module)[ Packagist](https://packagist.org/packages/sagsoz06/formbuilder-module)[ RSS](/packages/sagsoz06-formbuilder-module/feed)WikiDiscussions master Synced 3d ago

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

Formbuilder
===========

[](#formbuilder)

**This module is working, but in a very alpha version. Using is at your own risk!****You are welcome to work on it**

Table of contents
-----------------

[](#table-of-contents)

Prerequisites
Installation
Permission
Usage
Notice
Troubleshoot
Todo

Prerequisites
-------------

[](#prerequisites)

Due the package ist based on several prerequisites, you need follow the following steps:

1. Install Pingponglabs Shortcode Package
2. Install Formbuilder
3. Add middleware

Please follow the installation instructions below step by step.

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

[](#installation)

### 1. Install Pingponglabs Shortcode Package

[](#1-install-pingponglabs-shortcode-package)

To display the forms in the frontend, it requires the Shortcode Module of Pingpong Sky Labs:

Due Pingponglabs changed the parse logic in the newest version, an incompatibility in some cases could occure. That's why we will fix the version to 2.1.

Please add this to your composer.json file:

```
    "pingpong/shortcode": "2.1",
```

Next, open a terminal and run.

```
    composer update
```

After the composer updated. Add new service provider in config/app.php.

```
  'Pingpong\Shortcode\ShortcodeServiceProvider'
```

Add new Facade alias.

```
'Shortcode'       => 'Pingpong\Shortcode\ShortcodeFacade',
```

Done.

### 2. Install Formbuilder

[](#2-install-formbuilder)

Now you can install the Formbuilder Please add this to your composer.json file:

```
    "stonelab/formbuilder": "~1.0"
```

and run composer update again.

That's it.

### 3. Add middleware

[](#3-add-middleware)

To make it work, you need to add a middleware to the Page Module.
If you not already have it, create a file `asgard.page.config.middleware.php` under confid folder.

The content should look like:

```
