{"id":21638769,"url":"https://github.com/novactive/novaformbuilderbundle","last_synced_at":"2025-04-11T16:51:24.718Z","repository":{"id":33817408,"uuid":"135718253","full_name":"Novactive/NovaFormBuilderBundle","owner":"Novactive","description":"A bundle to create dynamic symfony form","archived":false,"fork":false,"pushed_at":"2024-01-23T09:26:46.000Z","size":514,"stargazers_count":1,"open_issues_count":3,"forks_count":5,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-10T07:57:55.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Novactive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-01T13:01:43.000Z","updated_at":"2022-01-10T07:12:01.000Z","dependencies_parsed_at":"2023-11-16T14:48:56.082Z","dependency_job_id":"516ddf58-64e2-48bf-b153-db98931fe1de","html_url":"https://github.com/Novactive/NovaFormBuilderBundle","commit_stats":{"total_commits":235,"total_committers":15,"mean_commits":"15.666666666666666","dds":0.672340425531915,"last_synced_commit":"110a3b8f661b193fef56bb2b62d551d3b67b8d39"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaFormBuilderBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaFormBuilderBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaFormBuilderBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FNovaFormBuilderBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Novactive","download_url":"https://codeload.github.com/Novactive/NovaFormBuilderBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248443011,"owners_count":21104318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T04:11:36.469Z","updated_at":"2025-04-11T16:51:24.690Z","avatar_url":"https://github.com/Novactive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Novactive Form Builder\n\n| Branch   | Travis build status |\n|:--------:|:-------------------:|\n| master   | [![Build Status](https://travis-ci.org/Novactive/NovaFormBuilderBundle.svg?branch=master)](https://travis-ci.org/Novactive/NovaFormBuilderBundle)\n\n\nA bundle to create dynamic symfony form.\n\nThis bundle aims to provide a _lib_ to help generating dynamic form in a symfony app.\n\nIt provides 2 bundles:\n\n- `bundle` the symfony bundle\n- `ezbundle` the bridge to use bundle in eZ Platform\n\n\u003e Note that eZ Platform is a pure symfony app then the bridge is just about wiring the IHM\n\n\u003cbr\u003e\n\u003chr/\u003e\n\u003cbr\u003e\n\n# Installation\n\n### Requirements\n\n* eZ Platform 2+\n* PHP 7.1+\n* MySQL 5.7.8+ / Maria DB 10.1+\n\n### Installation steps\n\nRun `composer require novactive/formbuilder` to install the bundle and its dependencies:\n\n### Register the bundles\n\nActivate the bundle in `app\\AppKernel.php` file.\n\n```php\n// app\\AppKernel.php\n\npublic function registerBundles()\n{\n   ...\n   $bundles = array(\n        new FrameworkBundle(),\n        ...\n        // FormBuilder bundles\n        new Novactive\\Bundle\\FormBuilderBundle\\FormBuilderBundle(),\n        new Novactive\\Bundle\\eZFormBuilderBundle\\NovaeZFormBuilderBundle()\n   );\n   ...\n}\n```\n\n### Add routes\n\n```yaml\n\n_novaezformbuilder_routes:\n    resource: '@NovaeZFormBuilderBundle/Resources/config/routing.yml'\n```\n\n### Install the database schema\n\n```bash\nbin/console novaformbuilder:install\n```\n\n### Troubleshooting\n\nIf the bundle web assets (css, js etc.) are missing in the public directory it can be fixed by running the following commands:\n```bash\nbin/console assets:install --symlink --relative\nbin/console assetic:dump\n```\nThat will install bundles web assets under a public directory and dump them to the filesystem.\n\nAlso if the **translations** are not loaded at once clearing the Symfony cache folder must help. \n\n\u003cbr\u003e\n\u003chr/\u003e\n\u003cbr\u003e\n\n# Migrate DB from Ez Survey\n\nThe database of the old **Ez Survey Bundle** can be migrated to this **Novactive Form Builder Bundle**.\nTo do that run the following commands inside _ezplatform_ folder:\n\n    php bin/console novaformbuilder:migrate --export\n    php bin/console novaformbuilder:migrate --import\n\nThe first one exports the data from the old database to json files.\nThe second one imports the data from json files to the new database.\nAfter that the dumped data is still in the json files inside web/var/site/storage/files/forms folder. \nThey can be removed manually if they are not needed anymore.\n\nWhat the migration script does is:\nIt takes all surveys to convert them into forms. Each of them is related to particular _Ez content_. \nIf more than one record have the same content_id the script takes the latest one due to the _ID_ value.\nThen it takes all questions to convert into fields and results + questions results to convert into submissions.\n \n\nThere is also the option to truncate the current **Novactive Form Builder Bundle** \ntables in the database:\n\n    php bin/console novaformbuilder:migrate --clean\n\n\nAfter running the Migrate scripts you might need to clear the **Redis Cache** \nif it's used on the project to apply the changes that have been made to the database.\n\nThe migration doesn't support the cases if there are more than one **ezsurvey** fields\n in any particular Content Type.\n \nTo apply the custom Form design on the Front End the bundle template \n**fields/ezcustomform_show_front.html.twig** should be overridden \nwith another template inside _Ez Platform_.\n \n\u003cbr\u003e\n\u003chr/\u003e\n\u003cbr\u003e\n\nContributing\n----------------\n\n[Contributing](CONTRIBUTING.md)\n\n\nChange and License\n------------------\n\n[License](LICENSE)\n\n\n----\nMade with \u003c3 by novactive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovactive%2Fnovaformbuilderbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovactive%2Fnovaformbuilderbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovactive%2Fnovaformbuilderbundle/lists"}