{"id":19054345,"url":"https://github.com/ecedi/vars-bundle","last_synced_at":"2026-05-05T22:39:35.228Z","repository":{"id":20389893,"uuid":"23665661","full_name":"ecedi/vars-bundle","owner":"ecedi","description":"A configuration as Entity small bundle","archived":false,"fork":false,"pushed_at":"2014-09-10T13:37:49.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"devel","last_synced_at":"2025-01-02T11:10:01.535Z","etag":null,"topics":["drupal","ecedi","php","wordpress"],"latest_commit_sha":null,"homepage":"https://www.ecedi.fr","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecedi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-09-04T14:26:03.000Z","updated_at":"2019-10-09T14:17:32.000Z","dependencies_parsed_at":"2022-07-31T18:19:00.257Z","dependency_job_id":null,"html_url":"https://github.com/ecedi/vars-bundle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecedi%2Fvars-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecedi%2Fvars-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecedi%2Fvars-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecedi%2Fvars-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecedi","download_url":"https://codeload.github.com/ecedi/vars-bundle/tar.gz/refs/heads/devel","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240109883,"owners_count":19749208,"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":["drupal","ecedi","php","wordpress"],"created_at":"2024-11-08T23:37:56.682Z","updated_at":"2026-05-05T22:39:35.189Z","avatar_url":"https://github.com/ecedi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecedi/vars-bundle by [Agence Ecedi](http://ecedi.fr)\n\nthis is a simple bundle with no UI, (API only) that replicate CMS like Drupal or Wordpress capacity to store configuration in Database.\n\n## installation\n\n### edit your composer.json file and add\n\n```json\n\t{\n\t\t\"require\": {\n\t\t\t\"ecedi/vars-bundle\": \"dev-master\",\n\t\t},\n\t\t\"repositories\": [\n\t\t{\n\t\t\t\"type\": \"vcs\",\n\t\t\t\"url\": \"https://github.com/ecedi/vars-bundle\"\n\t\t}\n\t\t]\n\t}\n```\n\n### Add VarsBundle to your application kernel\n\n```php\n\t// app/AppKernel.php\n\tpublic function registerBundles()\n\t{\n\t\treturn array(\n\t\t\t// ...\n\t\t\tnew Ecedi\\VarsBundle\\EcediVarsBundle(),\n\t\t\t// ...\n\t\t);\n\t}\n```\n\n### update your schema\n\n```\n\tapp/console doctrine:schema:update --force\n```\n\n## Usage\n\n```php\n\t$vm = $container-\u003eget('ecedi.vars.variable_manager'):\n\t$config = $vm-\u003eget('my.parameter', 'default_value');\n\t$vm-\u003eset('my.parameter', 'value');\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecedi%2Fvars-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecedi%2Fvars-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecedi%2Fvars-bundle/lists"}