Table of Contents

Installation

Setup

Developer setup

Formed is built with the most popular PHP framework Laravel, if you are a developer, you can treat this application as a typical Laravel setup and install it any way you wish by following the official guide: https://laravel.com/docs/8.x/installation.

Non-developer setup

If you are not a developer, this section is for you.

README.md       
formed-builder      
server.php
app         
node_modules        
storage
artisan         
package-lock.json   
tailwind.config.js
bootstrap       
package.json        
tests
composer.json       
phpunit.xml     
todo.md
composer.lock       
public          
vendor
config          
resources       
webpack.mix.js
database        
routes          
yarn.lock
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache

Make sure you run the command above from the formed directory.

Cpanel or Plesk

If you are using Cpanel or Plesk, please make sure the DocumentRoot is pointing to socially/public.

Install

To smooth the installation process, we built an installation wizard.

After the successful completion of the setup above, navigate to your website's public URL: http://your-site/formed. You will be redirected to the installation wizard.

Configuration required for SaaS

If you want to run this application as a SaaS service. That is to use these modules:

You must set the following configuration correctly:

Run this command from your application's root directory:

php artisan cashier:webhook

Configuration required for Email Integration

If you are going to Email notification integration, you will have to config the email service correctly:

You should be able to find email configuration values on the email service site.

Feeling lazy?

If you are feeling lazy or you are someone who does not enjoy the process of messing with the server, we are here to help.

Usage

In this part of the documentation, we will show you how to use this application to create the forms you need.

A single page form

A multiple-pages form

To create a multiple-pages form, click the Add page button in the form builder:

Redirecting a form

Integration

Formed provides integration with 3rd party applications.

Email notification

To use this feature, make sure you have done the configuration required in the Installation step.

You can set up notification via Email notification, this integration will forward the collected data to an email inbox.

Customization

This application is built with a modern web development stack:

Localization

If you need to localize language to your own needs. We got you covered.

Development setup

Back-end

We believe in unit tests. It helps us build a solid and maintainable codebase. Our core codes are covered by unit test.

All test files are located in tests directory.

Before running the test, make sure you create a test database, by default, the test database is called formed_test. You can change it at .env.testing.

Run the tests via CLI:

vendor/bin/phpunit 

Front-end

There are two parts. One is the form builder, and the other is the typical view pages.

The form builder is made by ReactJS and it is a separated pure JS application located at formed-builder directory.

Form builder

To custom the builder, you should do so independently:

cd formed-builder
yarn install
yarn prod 

The commands above will compile the form builder with your changes.

Laravel

To compile the classic Laravel assets, we need to run:

npm install
npm run prod

The commands above will compile the Laravel CSS and view files.

Help

Thanks for supporting us and if you encouter any issue with this script. Feel free to contact us via email hi[at]staticmaker.com.

Thanks again for purchasing this script.