Download the PHP package pirasterize/sonata-form-builder without Composer

On this page you can find all versions of the php package pirasterize/sonata-form-builder. 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 sonata-form-builder

Sonata Form Builder

A Drag & Drop Form builder inspired from the Git package https://github.com/minikomi/Bootstrap-Form-Builder and adapted for Sonata-Admin with bootstrap v3 and Jquery

You need Bootstrap v3 and Jquery on your Javascript/CSS requirements and a recent Sonata Admin installation.


Install the bundle

Step 1: Download the bundle

You can download and put on your /src directory (like this src/Pirastru/FormBuilderBundle) or insert on your vendor directory with the follow command :

If you have a >minimum-stability< error is because your symfony installation accept only stable packages. Edit composer.json file and change "minimum-stability" from "stable" to "dev" :

Step 2: Enable the bundle

Insert the follow line on your AppKernel.php in your symfony :

Step 3: Configuration

Add the following configuration to your app/config/config.yml:

Add the following configuration to your app/config/parameters.yml:

Step 4: Setup the database schema

Step 5: Setup the routing

Append the following code to app/config/routing.yml or better to separate app/config/routing_admin.yml :

Step 6: Sonata admin setup

In order to have on your list of Admin entities the Form Builder you must put on your configuration file (this case app/config/sonata/sonata_admin.yml), inside of the directive of 'sonata_admin' the follow code :

Step 7: Sonata blocks setup

In order to have on the list of blocks the Form Builder Block available on a page put on your configuration file (app/config/sonata/sonata_block.yml) the follow line :

Step 8: Install assets

Run the follow command on your console to install assets :

To see the result

Check on your Sonata Admin Entities you should see the 'Form Builder' Menu than create a new drag&drop form. After that create a page from sonata page or edit an existing one and put from the list of available blocks the block called "Form Builder Drag&Drop". On Options choose the Form you just created, and take a look on the page.

Building the bootstrap form builder

Install RequireJS

And run following command in directory Resources/public/BootstrapFormBuilder:

Todo


All versions of sonata-form-builder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
symfony/event-dispatcher Version ^5.4
symfony/http-kernel Version ^5.4
symfony/dependency-injection Version ^5.4
symfony/form Version ^5.4
symfony/options-resolver Version ^5.4
symfony/validator Version ^5.4
symfony/http-foundation Version ^5.4
symfony/framework-bundle Version ^5.4
symfony/config Version ^5.4
symfony/routing Version ^5.4
sonata-project/block-bundle Version ^4.0
gregwar/captcha-bundle Version ^2.2
sonata-project/admin-bundle Version ^4.0
doctrine/orm Version ^2.5
sonata-project/exporter Version ^3.0
ext-json Version *
symfony/mailer Version ^5.4
symfony/twig-bundle Version ^5.4
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 pirasterize/sonata-form-builder contains the following files

Loading the files please wait ....