Skip to content

This package will create and update multiple resources using the Form Synergy PHP API

License

Notifications You must be signed in to change notification settings

form-synergy/fs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Form Synergy Demo

This package will automatically configure the following using the API

  • Site registration and verification
  • Create a strategy.
  • Create Multiple objectives.
  • Multiple modules, including interactions
  • Demo page using HTML, CSS, javaScript, jQuery and SVG

Install using composer

composer require form-synergy/fs-demo

Include the library

require '/vendor/autoload.php';

To Load Package

You will need to retrieve your credentials in the Form Synergy console: https://formsynergy.com/console/

\FormSynergy\Fs_Demo([
    'strategy'      => '', // Eg: Form Synergy Demo
    'profileid'     => '', // You can find the profile id under the profile tab: https://formsynergy.com/console/
    'website' => [
        'proto'     => '', // Eg: https, or http
        'domain'    => '', // Eg: demo.formsynergy.com
        'name'      => '', // Eg: Form Synergy demo
        'indexpage' => '', // Eg: /packages/fs-demo
    ],
    'config' => [
        'apikey'    => '', // API Key: Under the API access tab: https://formsynergy.com/console/
        'secretkey' => '', // API Key: Under the API access tab: https://formsynergy.com/console/

    ],
    'contact' => [          // Alerts and notifications contact.
        'fname'     => '', 
        'lname'     => '',
        'email'     => '',
        /**
         * Format:
         *  - default for HTML & Text,
         *  - text, 
         *  - markdown
         */
        'format'    => ''  
    ],
    'storage' =>       [__DIR__, 'form-synergy-demo'] 
]);

About

This package will create and update multiple resources using the Form Synergy PHP API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages