Skip to content

An easy to use playground to get your hands dirty with ValidForm Builder

License

Notifications You must be signed in to change notification settings

validformbuilder/playground

Repository files navigation

CI

ValidForm Builder Playground

An easy to use playground to get your hands dirty with ValidForm Builder

Installation

Local usage

Clone the repository and run composer install from the project root. This will install all dependencies, trigger a yarn install and open your web browser once everything is done.

Docker

If you have Docker for Desktop installed, you can pull the validformbuilder/playground image from the Docker Hub to immediately browse through all of the example code.

Just use docker run --rm -p 8000:8000 --name vfb-playground validformbuilder/playground

Get started

Run php -S localhost:8000 -t public/ && open http://localhost:8000 to get started. This will start a basic webserver on localhost:8000

Requirements

Local

You need to have composer and yarn* installed on your development machine. On a Mac, this can be easily installed using Homebrew: brew install php@7.3 composer yarn

Docker

If you prefer using the docker image, make sure you have Docker for Desktop installed on your local machine.

Resources:

Todo

  • Allow users to submit example forms and view results
  • Create a docker container for easy access to the playground
  • Automate docker image builds
  • Trigger builds when new versions of ValidForm Builder are pushed
  • Use front-end framework like bootstrap for nicer styling
  • Implement something like https://github.com/Corveda/PHPSandbox to create a hosted version of the ValidForm Builder Playground