{"id":33966346,"url":"https://github.com/brookinsconsulting/bcknockoutjsbundle","last_synced_at":"2025-12-12T23:08:06.291Z","repository":{"id":56951362,"uuid":"82990513","full_name":"brookinsconsulting/BcKnockoutJSBundle","owner":"brookinsconsulting","description":"[Updated for Symfony 3.2 but still DEPRECATED] Integrates knockout.js into Symfony2/3. Provides automatic code generation for collections.","archived":false,"fork":true,"pushed_at":"2017-02-24T07:37:58.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-07T15:20:37.606Z","etag":null,"topics":["knockoutjs","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Padam87/KnockoutJSBundle","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brookinsconsulting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-24T01:58:27.000Z","updated_at":"2024-04-07T15:20:37.607Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/brookinsconsulting/BcKnockoutJSBundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brookinsconsulting/BcKnockoutJSBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2FBcKnockoutJSBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2FBcKnockoutJSBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2FBcKnockoutJSBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2FBcKnockoutJSBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brookinsconsulting","download_url":"https://codeload.github.com/brookinsconsulting/BcKnockoutJSBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2FBcKnockoutJSBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27694525,"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","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["knockoutjs","php","symfony","symfony-bundle"],"created_at":"2025-12-12T23:08:04.775Z","updated_at":"2025-12-12T23:08:06.280Z","avatar_url":"https://github.com/brookinsconsulting.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BC KnockoutJS\n\nIntegrates knockout.js into Symfony2, provides automatic code generation for collections.\n\n## 1. Example ##\n\n    $builder\n        -\u003eadd('items', 'knockout', array(\n            'type'         =\u003e new OrderItemType(),\n            'allow_add'    =\u003e true,\n            'allow_delete' =\u003e true,\n            'prototype'    =\u003e true,\n            'by_reference'  =\u003e false,\n        ))\n    ;\n\nI have added the items field with the KnockoutType, which extends the CollectionType, and handled the same way as a collection.\n\n## 2. Installation\n\n### 2.1. Composer:\n\n    \"brookinsconsulting/bcknockoutjsbundle\": \"dev-master\",\n\n### 2.2. AppKernel:\n\n    $bundles = array(\n        ...\n        new BrookinsConsulting\\BcKnockoutJSBundle\\BcKnockoutJSBundle(),\n    );\n\n### 2.3. config.yml:\n\n    imports:\n        ...\n        - { resource: \"@BcKnockoutJSBundle/Resources/config/config.yml\" }\n\n    # BcKnockoutJS Bundle Configuration\n    jms_di_extra:\n        locations:\n            all_bundles: false\n            bundles: [BcKnockoutJSBundle]\n            directories: [\"%kernel.root_dir%/../src\"]\n\njms\\_di\\_extra configuration is unnecessary if you have set all_bundles to true which is strongly discouraged for performance reasons by the upstream dependant bundle in question.\n\n### 2.4. Add the js to your page.\n\n    \u003cscript src=\"{{ asset('bundles/bcknockoutjs/js/knockout-3.4.1.js') }}\"\u003e\u003c/script\u003e\n\n### 2.5. Create your view\n\n    {{ knockout(form.vars.knockout)|raw }}\n    {{ form_widget(form) }}\n\n## 3. Dependencies\n\nThis package does infact depend upon the 'jms/di-extra-bundle' bundle.\n \nFor testing purposes the original author used his now private BaseBundle, if you want to test it, you have to include it in your composer.json file too.\n\n## 4. Stuff to do\n\n- Generator. Right now the command is there, but its not working properly.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookinsconsulting%2Fbcknockoutjsbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrookinsconsulting%2Fbcknockoutjsbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookinsconsulting%2Fbcknockoutjsbundle/lists"}