Download the PHP package stonelab/formbuilder without Composer

On this page you can find all versions of the php package stonelab/formbuilder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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

Prerequisites
Installation
Permission
Usage
Notice
Troubleshoot
Todo

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

1. Install Pingponglabs Shortcode Package

To display the forms in the frontend, it requires the Shortcode Module of Pingpong Sky Labs:
http://sky.pingpong-labs.com/docs/2.0/shortcode
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:

Next, open a terminal and run.

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

Add new Facade alias.

Done.

2. Install Formbuilder

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

and run composer update again.

That's it.

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:

Notice: This feature was newly added to the page module. Make sure you got the latest version

5. Permission

Don't forget to set the Permissions for the newly added Formbuilder module.

Usage

You can mangage your forms in backend under the Formbuilder seciton. While you're creating your form, pleas make sure you filled out all necessary datas on all section and languages (specially mail section), esle you will lose your created form when you try to save and you need to do it again. this will be solved in future release. For every you form you've created you'll get an form id which you can you use through the shortcode.

The shortcode looks like:

you can put this shortcode wherevery you want in the an page content.

All submitted forms are automatically stored and you can see it in the backend.

Notice

At the moment, the output are Bootstrapped Fields and Wrappers. This will be changed in the future.

Troubleshoot

Error: Shortcode not found
You need first setup the Shortcode package. When this error appears, it means you not have added the alias under config/app.php.

Form could not be sent
Please check you mail driver under config/mail.php
When it's set up correctly, then check if you have set up valid mail addresses your form mail settings.

TODO

Fix losing data when not filled out all necessary datas due saving. Make Layout more flexible


All versions of formbuilder with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
composer/installers Version ~1.0
asgardcms/core-module Version ~1.0
dapphp/securimage Version ~3.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package stonelab/formbuilder contains the following files

Loading the files please wait ....